Commit 755d86be011bd3fc3edb575316daed1a641ed7d4

Guillem Jover 2011-05-27T21:39:14

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 <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