X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cde%2Fprograms%2Fdtlogin%2Fsysauth.c;h=34a987b28b4a47b96741f484352da1aa09942b39;hb=751505e6ab7f594cb03fa378b7b8edbcb82e8cb0;hp=9bad7ec83cbca5a8469e95045d73d9575cdc6d5d;hpb=6bf175ef2daa3f3a0a52e3d92b4157f5f379cf06;p=oweals%2Fcde.git diff --git a/cde/programs/dtlogin/sysauth.c b/cde/programs/dtlogin/sysauth.c index 9bad7ec8..34a987b2 100644 --- a/cde/programs/dtlogin/sysauth.c +++ b/cde/programs/dtlogin/sysauth.c @@ -217,7 +217,7 @@ static void Audit( struct passwd *p, char *msg, int errnum) ; static int CheckPassword( char *name, char *passwd, struct passwd **ppwd ); static int CountUsers( int added_users) ; static int CountUsersStrict( char *new_user) ; -static int PasswordAged( register struct passwd *pw) ; +static int PasswordAged( struct passwd *pw) ; static void WriteBtmp( char *name) ; @@ -488,7 +488,7 @@ CountUsersStrict( char *new_user ) #define SECONDS_IN_WEEK 604800L static int -PasswordAged( register struct passwd *pw ) +PasswordAged( struct passwd *pw ) { long change_week; /* week password was changed (1/1/70 = Week 0) */ long last_week; /* week after which password must change */ @@ -1357,7 +1357,7 @@ Authenticate( struct display *d, char *name, char *passwd, char **msg ) ***************************************************************************/ static void Audit( struct passwd *p, char *msg, int errnum) ; -static int PasswordAged(char *name, register struct passwd *pw) ; +static int PasswordAged(char *name, struct passwd *pw) ; static void WriteBtmp( char *name) ; @@ -1436,7 +1436,7 @@ WriteBtmp( char *name ) #define SECONDS_IN_WEEK 604800L static int -PasswordAged(char *name, register struct passwd *pw ) +PasswordAged(char *name, struct passwd *pw ) { struct userpw *pupw; /* authentication information from getuserpw() */ struct userpw upw; /* working authentication information */ @@ -1832,7 +1832,7 @@ tsm_check_login(uid_t uid) ***************************************************************************/ static void Audit( struct passwd *p, char *msg, int errnum) ; -static int PasswordAged( register struct passwd *pw) ; +static int PasswordAged( struct passwd *pw) ; static void WriteBtmp( char *name) ; @@ -1896,7 +1896,7 @@ WriteBtmp( char *name ) #define SECONDS_IN_WEEK 604800L static int -PasswordAged( register struct passwd *pw ) +PasswordAged( struct passwd *pw ) { return(FALSE); }