From: Karel Zak Date: Thu, 15 Oct 2009 23:01:48 +0000 (+0200) Subject: chrt: use c.h X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6534e4fd8d55e1e5127aaeb80537e002e83227b;p=util-linux chrt: use c.h Signed-off-by: Karel Zak --- diff --git a/schedutils/chrt.c b/schedutils/chrt.c index 7d6bb2db..6728ad3a 100644 --- a/schedutils/chrt.c +++ b/schedutils/chrt.c @@ -29,6 +29,7 @@ #include #include +#include "c.h" #include "nls.h" /* the SCHED_BATCH is supported since Linux 2.6.16 @@ -46,10 +47,6 @@ # define SCHED_IDLE 5 #endif -#ifndef ARRAY_SIZE -# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) -#endif - static void show_usage(int rc) { fprintf(stdout, _(