From: Karel Zak Date: Thu, 15 Oct 2009 22:58:53 +0000 (+0200) Subject: libblkid: use c.h X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ba10999b0dd19369254c77369adaae73bcfaff;p=util-linux libblkid: use c.h Signed-off-by: Karel Zak --- diff --git a/shlibs/blkid/src/blkidP.h b/shlibs/blkid/src/blkidP.h index 625ad71e..0cad69c0 100644 --- a/shlibs/blkid/src/blkidP.h +++ b/shlibs/blkid/src/blkidP.h @@ -22,31 +22,12 @@ #include #include +#include "c.h" #include "bitops.h" /* $(top_srcdir)/include/ */ + #include "blkid.h" #include "list.h" -#ifdef __GNUC__ -#define __BLKID_ATTR(x) __attribute__(x) -#else -#define __BLKID_ATTR(x) -#endif - -#ifndef TRUE -#define TRUE 1 -#define FALSE 0 -#endif - -#include -#ifndef PATH_MAX -# define PATH_MAX 4096 -#endif - -/* TODO: move to some top-level util-linux include file */ -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) -#endif - /* * This describes the attributes of a specific device. * We can traverse all of the tags by bid_tags (linking to the tag bit_names).