dtlogin: remove register keyword

This commit is contained in:
Jon Trulson
2018-06-27 17:25:01 -06:00
parent 97264ba971
commit 88dd3b2c71
14 changed files with 41 additions and 41 deletions

View File

@@ -198,7 +198,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) ;
@@ -469,7 +469,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 */
@@ -1054,7 +1054,7 @@ WriteBtmp( char *name )
***************************************************************************/
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) ;
@@ -1117,7 +1117,7 @@ WriteBtmp( char *name )
#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 */
@@ -1300,7 +1300,7 @@ Verify( char *name, char *passwd )
***************************************************************************/
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) ;
@@ -1363,7 +1363,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 */
@@ -1579,7 +1579,7 @@ Verify( char *name, char *passwd )
***************************************************************************/
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) ;
@@ -1642,7 +1642,7 @@ WriteBtmp( char *name )
#define SECONDS_IN_WEEK 604800L
static int
PasswordAged( register struct passwd *pw )
PasswordAged( struct passwd *pw )
{
return(FALSE);
}