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 struct passwd pwent;
|
||||||
static char pwdbuf[1024];
|
static char pwdbuf[1024];
|
||||||
register int i;
|
int i;
|
||||||
register char *cp;
|
char *cp;
|
||||||
char *fields[NFIELDS];
|
char *fields[NFIELDS];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -28,7 +28,7 @@ void motd (void)
|
|||||||
char *motdlist;
|
char *motdlist;
|
||||||
const char *motdfile;
|
const char *motdfile;
|
||||||
char *mb;
|
char *mb;
|
||||||
register int c;
|
int c;
|
||||||
|
|
||||||
motdfile = getdef_str ("MOTD_FILE");
|
motdfile = getdef_str ("MOTD_FILE");
|
||||||
if (NULL == motdfile) {
|
if (NULL == motdfile) {
|
||||||
|
Loading…
Reference in New Issue
Block a user