mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 11:17:37 +01:00
Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED
This commit is contained in:
parent
cd4996cebe
commit
755d86be01
2
Makefile
2
Makefile
@ -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 :=
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user