]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove RADIUSD_NEED_DECLARATION
authorAlan T. DeKok <aland@freeradius.org>
Sat, 9 Mar 2013 01:43:51 +0000 (20:43 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 9 Mar 2013 18:11:05 +0000 (13:11 -0500)
Apparently this hasn't been used for a long time, and no one
has noticed.

configure.in
src/include/missing-h

index e3a6aae14e98cb692b7409f301225853716d0968..a4dd0592bf37621fc736797eeabb56da4168ead7 100644 (file)
@@ -924,15 +924,6 @@ AC_CHECK_FUNCS( \
        strlcat \
        strlcpy
 )
-RADIUSD_NEED_DECLARATIONS( \
-       crypt \
-       strncasecmp \
-       strcasecmp \
-       inet_aton \
-       setlinebuf \
-       getusershell \
-       endusershell
-)
 
 AC_TYPE_SIGNAL
 
index b3eaf9af61efa0416a074f28265e2e8b67621e0c..e71e342fa115d6f0e7e5c05d4a27e2b644442a89 100644 (file)
@@ -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