diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-05-27 21:39:14 +0200 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2011-05-28 10:58:26 +0200 |
commit | 755d86be011bd3fc3edb575316daed1a641ed7d4 (patch) | |
tree | 901498e571d8754b0a5e21980050051600ffca52 | |
parent | cd4996cebe5c57120b504630832441038211f7b7 (diff) | |
download | libbsd-755d86be011bd3fc3edb575316daed1a641ed7d4.tar.gz |
Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | include/bsd/bsd.h | 2 | ||||
-rw-r--r-- | include/bsd/stdlib.h | 2 | ||||
-rw-r--r-- | include/bsd/string.h | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -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 <bsd/md5.h> /* FIXME: Will be removed in the future. */ -#ifndef LIBBSD_CLEAN_INCLUDES +#ifndef LIBBSD_DISABLE_DEPRECATED #include <time.h> #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 <bsd/stdio.h> #include <bsd/unistd.h> #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 <string.h> #endif -#ifndef LIBBSD_CLEAN_INCLUDES +#ifndef LIBBSD_DISABLE_DEPRECATED /* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */ #include <bsd/stdio.h> #endif |