mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-09 03:08:38 +01:00
Remove deprecated compatibility includes in headers
This commit is contained in:
parent
109cafb393
commit
0b96e1a218
@ -41,9 +41,4 @@
|
||||
#include <bsd/getopt.h>
|
||||
#include <bsd/md5.h>
|
||||
|
||||
/* FIXME: Will be removed in the future. */
|
||||
#ifndef LIBBSD_DISABLE_DEPRECATED
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -46,17 +46,6 @@
|
||||
#include <bsd/libutil.h>
|
||||
#endif
|
||||
|
||||
/* FIXME: Temporary inclusions to avoid API breakage, will be removed soon. */
|
||||
#ifndef LIBBSD_DISABLE_DEPRECATED
|
||||
#ifdef LIBBSD_OVERLAY
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <bsd/stdio.h>
|
||||
#include <bsd/unistd.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
u_int32_t arc4random();
|
||||
void arc4random_stir();
|
||||
|
@ -36,15 +36,6 @@
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifndef LIBBSD_DISABLE_DEPRECATED
|
||||
/* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */
|
||||
#ifdef LIBBSD_OVERLAY
|
||||
#include <stdio.h>
|
||||
#else
|
||||
#include <bsd/stdio.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
size_t strlcpy(char *dst, const char *src, size_t siz);
|
||||
size_t strlcat(char *dst, const char *src, size_t siz);
|
||||
|
Loading…
Reference in New Issue
Block a user