From: Alan T. DeKok Date: Sat, 9 Mar 2013 01:43:51 +0000 (-0500) Subject: Remove RADIUSD_NEED_DECLARATION X-Git-Tag: release_3_0_0_beta1~782 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f9c49fa2a6d7f66fbd4ef71b30cb39db3baaf28;p=thirdparty%2Ffreeradius-server.git Remove RADIUSD_NEED_DECLARATION Apparently this hasn't been used for a long time, and no one has noticed. --- diff --git a/configure.in b/configure.in index e3a6aae14e9..a4dd0592bf3 100644 --- a/configure.in +++ b/configure.in @@ -924,15 +924,6 @@ AC_CHECK_FUNCS( \ strlcat \ strlcpy ) -RADIUSD_NEED_DECLARATIONS( \ - crypt \ - strncasecmp \ - strcasecmp \ - inet_aton \ - setlinebuf \ - getusershell \ - endusershell -) AC_TYPE_SIGNAL diff --git a/src/include/missing-h b/src/include/missing-h index b3eaf9af61e..e71e342fa11 100644 --- a/src/include/missing-h +++ b/src/include/missing-h @@ -129,15 +129,6 @@ struct tm *localtime_r(const time_t *l_clock, struct tm *result); char *ctime_r(const time_t *l_clock, char *l_buf); #endif -#if !defined(HAVE_CRYPT) || defined(NEED_DECLARATION_CRYPT) -char *crypt(char *key, char *salt); -#endif - -#if !defined(HAVE_INET_ATON) || defined(NEED_DECLARATION_INET_ATON) -struct in_addr; -int inet_aton(const char *cp, struct in_addr *inp); -#endif - #ifndef HAVE_INET_PTON int inet_pton(int af, const char *src, void *dst); #endif @@ -156,26 +147,6 @@ int closefrom(int fd); # endif #endif -#ifdef NEED_DECLARATION_STRNCASECMP -int strncasecmp(char *s1, char *s2, int n); -#endif - -#ifdef NEED_DECLARATION_STRCASECMP -int strcasecmp(char *s1, char *s2); -#endif - -#ifdef NEED_DECLARATION_SETLINEBUF -# define setlinebuf(x) 0 -#endif - -#ifdef NEED_DECLARATION_GETUSERSHELL -char *getusershell(void); -#endif - -#ifdef NEED_DECLARATION_ENDUSERSHELL -void endusershell(void); -#endif - #ifndef INADDR_ANY # define INADDR_ANY ((uint32_t) 0x00000000) #endif