MFC r268928:
Const-ify a character string. Obtained from: Apple Inc. (Libc 997.90.3)
This commit is contained in:
parent
70f7d126e3
commit
797038915a
@ -52,7 +52,7 @@ gets(char *buf)
|
||||
int c;
|
||||
char *s;
|
||||
static int warned;
|
||||
static char w[] =
|
||||
static const char w[] =
|
||||
"warning: this program uses gets(), which is unsafe.\n";
|
||||
|
||||
FLOCKFILE(stdin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user