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:
John Birrell 1998-02-20 19:56:01 +00:00
parent e4fcd28b7f
commit 9ddaa53328
3 changed files with 6 additions and 3 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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();