From: Guillem Jover Date: Fri, 27 May 2011 19:39:14 +0000 (+0200) Subject: Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED X-Git-Tag: 0.3.0~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=755d86be011bd3fc3edb575316daed1a641ed7d4;p=thirdparty%2Flibbsd.git Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED --- diff --git a/Makefile b/Makefile index 60d94a5..bd805ed 100644 --- a/Makefile +++ b/Makefile @@ -129,7 +129,7 @@ LDFLAGS ?= # Internal makefile variables MK_CPPFLAGS := -Iinclude/bsd/ -Iinclude/ \ - -DLIBBSD_OVERLAY -DLIBBSD_CLEAN_INCLUDES \ + -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \ -D_GNU_SOURCE -D__REENTRANT MK_CFLAGS := MK_LDFLAGS := diff --git a/include/bsd/bsd.h b/include/bsd/bsd.h index bba4ac8..c083805 100644 --- a/include/bsd/bsd.h +++ b/include/bsd/bsd.h @@ -42,7 +42,7 @@ #include /* FIXME: Will be removed in the future. */ -#ifndef LIBBSD_CLEAN_INCLUDES +#ifndef LIBBSD_DISABLE_DEPRECATED #include #endif diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h index a22cbe5..8e885f6 100644 --- a/include/bsd/stdlib.h +++ b/include/bsd/stdlib.h @@ -47,7 +47,7 @@ #endif /* FIXME: Temporary inclusions to avoid API breakage, will be removed soon. */ -#ifndef LIBBSD_CLEAN_INCLUDES +#ifndef LIBBSD_DISABLE_DEPRECATED #include #include #endif diff --git a/include/bsd/string.h b/include/bsd/string.h index 7d23f7d..b0199d7 100644 --- a/include/bsd/string.h +++ b/include/bsd/string.h @@ -36,7 +36,7 @@ #include #endif -#ifndef LIBBSD_CLEAN_INCLUDES +#ifndef LIBBSD_DISABLE_DEPRECATED /* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */ #include #endif