diff options
author | Karel Zak | 2009-10-16 01:00:27 +0200 |
---|---|---|
committer | Karel Zak | 2009-10-16 01:00:27 +0200 |
commit | becc79d5b6541f5f4192c460b46864381d49bed6 (patch) | |
tree | e245ceb656dbc9d38f79212247afbb8d89af4811 /sys-utils/ldattach.c | |
parent | libblkid: use c.h (diff) | |
download | kernel-qcow2-util-linux-becc79d5b6541f5f4192c460b46864381d49bed6.tar.gz kernel-qcow2-util-linux-becc79d5b6541f5f4192c460b46864381d49bed6.tar.xz kernel-qcow2-util-linux-becc79d5b6541f5f4192c460b46864381d49bed6.zip |
ldattach: use c.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/ldattach.c')
-rw-r--r-- | sys-utils/ldattach.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c index 19f70fe62..b4563aee9 100644 --- a/sys-utils/ldattach.c +++ b/sys-utils/ldattach.c @@ -25,6 +25,7 @@ #include <unistd.h> #include <err.h> +#include "c.h" #include "nls.h" #define dbg(format, arg...) \ @@ -38,10 +39,6 @@ # define N_PPS 18 #endif -#ifndef ARRAY_SIZE -# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) -#endif - /* attach a line discipline ioctl */ #ifndef TIOCSETD # define TIOCSETD 0x5423 |