diff options
Diffstat (limited to 'hack')
-rw-r--r-- | hack/hack.o_init.c | 4 | ||||
-rw-r--r-- | hack/hack.termcap.c | 3 | ||||
-rw-r--r-- | hack/makedefs.c | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/hack/hack.o_init.c b/hack/hack.o_init.c index ccda56b5..a9480b7b 100644 --- a/hack/hack.o_init.c +++ b/hack/hack.o_init.c @@ -3,13 +3,13 @@ */ #ifndef lint -static char rcsid[] = "$NetBSD: hack.o_init.c,v 1.3 1995/03/23 08:31:06 cgd Exp $"; +static char rcsid[] = "$NetBSD: hack.o_init.c,v 1.4 1995/04/24 12:23:27 cgd Exp $"; #endif /* not lint */ #include "config.h" /* for typedefs */ #include "def.objects.h" #include "hack.onames.h" /* for LAST_GEM */ -extern char *index(); +#include <string.h> int letindex(let) register char let; { diff --git a/hack/hack.termcap.c b/hack/hack.termcap.c index 939514b7..a853d698 100644 --- a/hack/hack.termcap.c +++ b/hack/hack.termcap.c @@ -3,10 +3,11 @@ */ #ifndef lint -static char rcsid[] = "$NetBSD: hack.termcap.c,v 1.3 1995/03/23 08:31:36 cgd Exp $"; +static char rcsid[] = "$NetBSD: hack.termcap.c,v 1.4 1995/04/24 12:23:34 cgd Exp $"; #endif /* not lint */ #include <stdio.h> +#include <string.h> #include "config.h" /* for ROWNO and COLNO */ #include "def.flag.h" /* for flags.nonull */ extern char *tgetstr(), *tgoto(), *getenv(); diff --git a/hack/makedefs.c b/hack/makedefs.c index 550e3e95..e0567032 100644 --- a/hack/makedefs.c +++ b/hack/makedefs.c @@ -3,10 +3,11 @@ */ #ifndef lint -static char rcsid[] = "$NetBSD: makedefs.c,v 1.3 1995/03/23 08:32:24 cgd Exp $"; +static char rcsid[] = "$NetBSD: makedefs.c,v 1.4 1995/04/24 12:23:39 cgd Exp $"; #endif /* not lint */ #include <stdio.h> +#include <string.h> /* construct definitions of object constants */ #define LINSZ 1000 |