Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED

This commit is contained in:
Guillem Jover 2011-05-27 21:39:14 +02:00
parent cd4996cebe
commit 755d86be01
4 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ LDFLAGS ?=
# Internal makefile variables # Internal makefile variables
MK_CPPFLAGS := -Iinclude/bsd/ -Iinclude/ \ MK_CPPFLAGS := -Iinclude/bsd/ -Iinclude/ \
-DLIBBSD_OVERLAY -DLIBBSD_CLEAN_INCLUDES \ -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
-D_GNU_SOURCE -D__REENTRANT -D_GNU_SOURCE -D__REENTRANT
MK_CFLAGS := MK_CFLAGS :=
MK_LDFLAGS := MK_LDFLAGS :=

View File

@ -42,7 +42,7 @@
#include <bsd/md5.h> #include <bsd/md5.h>
/* FIXME: Will be removed in the future. */ /* FIXME: Will be removed in the future. */
#ifndef LIBBSD_CLEAN_INCLUDES #ifndef LIBBSD_DISABLE_DEPRECATED
#include <time.h> #include <time.h>
#endif #endif

View File

@ -47,7 +47,7 @@
#endif #endif
/* FIXME: Temporary inclusions to avoid API breakage, will be removed soon. */ /* 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/stdio.h>
#include <bsd/unistd.h> #include <bsd/unistd.h>
#endif #endif

View File

@ -36,7 +36,7 @@
#include <string.h> #include <string.h>
#endif #endif
#ifndef LIBBSD_CLEAN_INCLUDES #ifndef LIBBSD_DISABLE_DEPRECATED
/* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */ /* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */
#include <bsd/stdio.h> #include <bsd/stdio.h>
#endif #endif