Add #include <string.h> to get prototypes. Note that this program
also has a local "string.h" which is included too.
This commit is contained in:
parent
e4fcd28b7f
commit
9ddaa53328
@ -39,7 +39,8 @@ static char sccsid[] = "@(#)lcmd1.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "defs.h"
|
||||
#include "string.h"
|
||||
#include <string.h> /* System string definitions. */
|
||||
#include "string.h" /* Local string definitions. */
|
||||
#include "value.h"
|
||||
#include "lcmd.h"
|
||||
#include "var.h"
|
||||
|
@ -48,7 +48,8 @@ static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/2/94";
|
||||
#include <paths.h>
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
#include "string.h"
|
||||
#include <string.h> /* System string definitions. */
|
||||
#include "string.h" /* Local string definitions. */
|
||||
#include "char.h"
|
||||
#include "local.h"
|
||||
|
||||
|
@ -38,7 +38,8 @@
|
||||
static char sccsid[] = "@(#)string.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "string.h"
|
||||
#include <string.h> /* System string definitions. */
|
||||
#include "string.h" /* Local string definitions. */
|
||||
|
||||
char *malloc();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user