diff options
author | brian <brian@FreeBSD.org> | 2004-09-05 01:46:52 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2004-09-05 01:46:52 +0000 |
commit | 6f864d0a973a7f3987d73132be311b7cfbd1ccfc (patch) | |
tree | fb5af1860e245ef67196527d9ba46e5c9e284bf6 /usr.sbin/ppp/auth.h | |
parent | 2f8e87b45e5735ee9774fce8bc8ffaf1fdc72657 (diff) | |
download | FreeBSD-src-6f864d0a973a7f3987d73132be311b7cfbd1ccfc.zip FreeBSD-src-6f864d0a973a7f3987d73132be311b7cfbd1ccfc.tar.gz |
Make ppp WARNS=5 clean
Diffstat (limited to 'usr.sbin/ppp/auth.h')
-rw-r--r-- | usr.sbin/ppp/auth.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ppp/auth.h b/usr.sbin/ppp/auth.h index bbc257c..3e1047d 100644 --- a/usr.sbin/ppp/auth.h +++ b/usr.sbin/ppp/auth.h @@ -60,11 +60,9 @@ extern void auth_Init(struct authinfo *, struct physical *, auth_func, auth_func, auth_func); extern void auth_StopTimer(struct authinfo *); extern void auth_StartReq(struct authinfo *); -extern int auth_Validate(struct bundle *, const char *, const char *, - struct physical *); -extern char *auth_GetSecret(struct bundle *, const char *, int, - struct physical *); +extern int auth_Validate(struct bundle *, const char *, const char *); +extern char *auth_GetSecret(const char *, size_t); extern int auth_SetPhoneList(const char *, char *, int); extern int auth_Select(struct bundle *, const char *); extern struct mbuf *auth_ReadHeader(struct authinfo *, struct mbuf *); -extern struct mbuf *auth_ReadName(struct authinfo *, struct mbuf *, int); +extern struct mbuf *auth_ReadName(struct authinfo *, struct mbuf *, size_t); |