From: Guillem Jover Date: Tue, 3 Jan 2012 06:32:53 +0000 (+0100) Subject: Remove deprecated compatibility includes in headers X-Git-Tag: 0.4.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b96e1a218b700448adf3c016ab25c11f207f6f6;p=thirdparty%2Flibbsd.git Remove deprecated compatibility includes in headers --- diff --git a/include/bsd/bsd.h b/include/bsd/bsd.h index c083805..b46056a 100644 --- a/include/bsd/bsd.h +++ b/include/bsd/bsd.h @@ -41,9 +41,4 @@ #include #include -/* FIXME: Will be removed in the future. */ -#ifndef LIBBSD_DISABLE_DEPRECATED -#include -#endif - #endif diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h index 217a416..5253183 100644 --- a/include/bsd/stdlib.h +++ b/include/bsd/stdlib.h @@ -46,17 +46,6 @@ #include #endif -/* FIXME: Temporary inclusions to avoid API breakage, will be removed soon. */ -#ifndef LIBBSD_DISABLE_DEPRECATED -#ifdef LIBBSD_OVERLAY -#include -#include -#else -#include -#include -#endif -#endif - __BEGIN_DECLS u_int32_t arc4random(); void arc4random_stir(); diff --git a/include/bsd/string.h b/include/bsd/string.h index fb7d4a7..be811f3 100644 --- a/include/bsd/string.h +++ b/include/bsd/string.h @@ -36,15 +36,6 @@ #include #endif -#ifndef LIBBSD_DISABLE_DEPRECATED -/* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */ -#ifdef LIBBSD_OVERLAY -#include -#else -#include -#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);