From 33ba10999b0dd19369254c77369adaae73bcfaff Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 16 Oct 2009 00:58:53 +0200 Subject: [PATCH] libblkid: use c.h Signed-off-by: Karel Zak --- shlibs/blkid/src/blkidP.h | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) 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). -- 2.39.5