summaryrefslogtreecommitdiffstats
path: root/rogue
diff options
context:
space:
mode:
Diffstat (limited to 'rogue')
-rw-r--r--rogue/machdep.c8
-rw-r--r--rogue/rogue.h6
2 files changed, 6 insertions, 8 deletions
diff --git a/rogue/machdep.c b/rogue/machdep.c
index baedb47b..96848910 100644
--- a/rogue/machdep.c
+++ b/rogue/machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.3 1995/04/22 10:27:39 cgd Exp $ */
+/* $NetBSD: machdep.c,v 1.4 1995/04/24 12:25:01 cgd Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)machdep.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: machdep.c,v 1.3 1995/04/22 10:27:39 cgd Exp $";
+static char rcsid[] = "$NetBSD: machdep.c,v 1.4 1995/04/24 12:25:01 cgd Exp $";
#endif
#endif /* not lint */
@@ -304,7 +304,7 @@ md_gct(rt_buf)
struct rogue_time *rt_buf;
{
struct tm *t, *localtime();
- long seconds;
+ time_t seconds;
time(&seconds);
t = localtime(&seconds);
@@ -338,7 +338,7 @@ char *fname;
struct rogue_time *rt_buf;
{
struct stat sbuf;
- long seconds;
+ time_t seconds;
struct tm *t;
stat(fname, &sbuf);
diff --git a/rogue/rogue.h b/rogue/rogue.h
index 94e37db9..c9b09874 100644
--- a/rogue/rogue.h
+++ b/rogue/rogue.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rogue.h,v 1.3 1995/04/22 10:28:14 cgd Exp $ */
+/* $NetBSD: rogue.h,v 1.4 1995/04/24 12:25:04 cgd Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -428,9 +428,7 @@ extern object level_monsters;
/* external routine declarations.
*/
-char *strcpy();
-char *strncpy();
-char *strcat();
+#include <string.h>
char *mon_name();
char *get_ench_color();