forked from Imagelibrary/rtems
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* pppd/auth.c, rtems_webserver/uemf.h: Removed warnings.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-11-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* pppd/auth.c, rtems_webserver/uemf.h: Removed warnings.
|
||||
|
||||
2002-10-31 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* rtems_webserver/socket.c, rtems_webserver/uemf.h: Removed
|
||||
|
||||
@@ -168,7 +168,9 @@ static int null_login __P((int));
|
||||
static int get_pap_passwd __P((char *));
|
||||
static int have_pap_secret __P((int *));
|
||||
static int have_chap_secret __P((char *, char *, int, int *));
|
||||
#if 0
|
||||
static int ip_addr_check __P((u_int32_t, struct permitted_ip *));
|
||||
#endif
|
||||
static void free_wordlist __P((struct wordlist *));
|
||||
static void auth_script __P((enum script_state s));
|
||||
static void set_allowed_addrs __P((int, struct wordlist *, struct wordlist *));
|
||||
@@ -1052,6 +1054,7 @@ auth_ip_addr(unit, addr)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
ip_addr_check(addr, addrs)
|
||||
u_int32_t addr;
|
||||
@@ -1061,6 +1064,7 @@ ip_addr_check(addr, addrs)
|
||||
if ((addr & addrs->mask) == addrs->base)
|
||||
return addrs->permit;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* bad_ip_adrs - return 1 if the IP address is one we don't want
|
||||
|
||||
@@ -162,6 +162,10 @@
|
||||
|
||||
/******************************* Per O/S Defines *****************************/
|
||||
|
||||
#if defined(__rtems__)
|
||||
#define __NO_PACK 1
|
||||
#endif
|
||||
|
||||
#if UW
|
||||
#define __NO_PACK 1
|
||||
#endif /* UW */
|
||||
@@ -877,9 +881,7 @@ extern void bstats(int handle, void (*writefn)(int handle, char_t *fmt, ...));
|
||||
#define B_USE_MALLOC 0x1 /* Okay to use malloc if required */
|
||||
#define B_USER_BUF 0x2 /* User supplied buffer for mem */
|
||||
|
||||
|
||||
#if !LINUX && !__rtems__
|
||||
#define __NO_PACK 1
|
||||
extern char_t *basename(char_t *name);
|
||||
#endif /* !LINUX */
|
||||
|
||||
|
||||
@@ -162,6 +162,10 @@
|
||||
|
||||
/******************************* Per O/S Defines *****************************/
|
||||
|
||||
#if defined(__rtems__)
|
||||
#define __NO_PACK 1
|
||||
#endif
|
||||
|
||||
#if UW
|
||||
#define __NO_PACK 1
|
||||
#endif /* UW */
|
||||
@@ -877,9 +881,7 @@ extern void bstats(int handle, void (*writefn)(int handle, char_t *fmt, ...));
|
||||
#define B_USE_MALLOC 0x1 /* Okay to use malloc if required */
|
||||
#define B_USER_BUF 0x2 /* User supplied buffer for mem */
|
||||
|
||||
|
||||
#if !LINUX && !__rtems__
|
||||
#define __NO_PACK 1
|
||||
extern char_t *basename(char_t *name);
|
||||
#endif /* !LINUX */
|
||||
|
||||
|
||||
@@ -168,7 +168,9 @@ static int null_login __P((int));
|
||||
static int get_pap_passwd __P((char *));
|
||||
static int have_pap_secret __P((int *));
|
||||
static int have_chap_secret __P((char *, char *, int, int *));
|
||||
#if 0
|
||||
static int ip_addr_check __P((u_int32_t, struct permitted_ip *));
|
||||
#endif
|
||||
static void free_wordlist __P((struct wordlist *));
|
||||
static void auth_script __P((enum script_state s));
|
||||
static void set_allowed_addrs __P((int, struct wordlist *, struct wordlist *));
|
||||
@@ -1052,6 +1054,7 @@ auth_ip_addr(unit, addr)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
ip_addr_check(addr, addrs)
|
||||
u_int32_t addr;
|
||||
@@ -1061,6 +1064,7 @@ ip_addr_check(addr, addrs)
|
||||
if ((addr & addrs->mask) == addrs->base)
|
||||
return addrs->permit;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* bad_ip_adrs - return 1 if the IP address is one we don't want
|
||||
|
||||
Reference in New Issue
Block a user