]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Remove deprecated compatibility includes in headers
authorGuillem Jover <guillem@hadrons.org>
Tue, 3 Jan 2012 06:32:53 +0000 (07:32 +0100)
committerGuillem Jover <guillem@hadrons.org>
Tue, 29 May 2012 02:51:04 +0000 (04:51 +0200)
include/bsd/bsd.h
include/bsd/stdlib.h
include/bsd/string.h

index c0838057a40fe9e94db88e037eb95374381be9c8..b46056a317e3f97cd1425953d61fb0c6a8574b7d 100644 (file)
@@ -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
index 217a4162f3cf91e514f9930f867175c1f5a83ac3..5253183e24ef0d39a855e3f8166bdcd84d902fb2 100644 (file)
 #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();
index fb7d4a7396f1cdbc6766782b9ee86e76a79c14fb..be811f3033d8a824a9c83729d5490b90194e5214 100644 (file)
 #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);