summaryrefslogtreecommitdiffstats
path: root/dm/dm.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-04-18 21:52:18 +0000
committermycroft <mycroft@NetBSD.org>1993-04-18 21:52:18 +0000
commit9b85680687e77d758ed4d5f002375aa6f88dc803 (patch)
treec56ea44ec5afb5b70ac6ca16fafdc70a663e3a79 /dm/dm.c
parentd244d8703e3d0edbd492dca367d74db166e8a687 (diff)
downloadbsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.tar.gz
bsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.tar.zst
bsdgames-darwin-9b85680687e77d758ed4d5f002375aa6f88dc803.zip
Cleanup for GCC 2.
Diffstat (limited to 'dm/dm.c')
-rw-r--r--dm/dm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dm/dm.c b/dm/dm.c
index bf820688..bbd0c447 100644
--- a/dm/dm.c
+++ b/dm/dm.c
@@ -50,6 +50,7 @@ static char sccsid[] = "@(#)dm.c 5.16 (Berkeley) 2/28/91";
#include <nlist.h>
#include <stdio.h>
#include <ctype.h>
+#include <string.h>
#include "pathnames.h"
extern int errno;
@@ -89,7 +90,7 @@ main(argc, argv)
play(args)
char **args;
{
- char pbuf[MAXPATHLEN], *strcpy(), *strerror();
+ char pbuf[MAXPATHLEN];
(void)strcpy(pbuf, _PATH_HIDE);
(void)strcpy(pbuf + sizeof(_PATH_HIDE) - 1, game);