Drop register keyword
Compilers are free to ignore the indented hint and modern optimizations should create good code by themself. (As such it is for example deprecated in C++17.)
This commit is contained in:
parent
c5090d91a1
commit
44917600b6
@ -35,8 +35,8 @@ struct passwd *sgetpwent (const char *buf)
|
||||
{
|
||||
static struct passwd pwent;
|
||||
static char pwdbuf[1024];
|
||||
register int i;
|
||||
register char *cp;
|
||||
int i;
|
||||
char *cp;
|
||||
char *fields[NFIELDS];
|
||||
|
||||
/*
|
||||
|
@ -28,7 +28,7 @@ void motd (void)
|
||||
char *motdlist;
|
||||
const char *motdfile;
|
||||
char *mb;
|
||||
register int c;
|
||||
int c;
|
||||
|
||||
motdfile = getdef_str ("MOTD_FILE");
|
||||
if (NULL == motdfile) {
|
||||
|
Loading…
Reference in New Issue
Block a user