summaryrefslogtreecommitdiff
blob: 6cda335d7aed602e29913ccef5d667c8e6a409a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/hack/extern.h b/hack/extern.h
index e2ef242..7c5085f 100644
--- a/hack/extern.h
+++ b/hack/extern.h
@@ -583,7 +583,7 @@ int role_index(int);
 void setrandom(void);
 struct tm *getlt(void);
 int getyear(void);
-char *getdate(void);
+char *get_date(void);
 int phase_of_the_moon(void);
 int night(void);
 int midnight(void);
diff --git a/hack/hack.end.c b/hack/hack.end.c
index 3145fd7..36e4796 100644
--- a/hack/hack.end.c
+++ b/hack/hack.end.c
@@ -360,7 +360,7 @@ topten()
 	(t0->name)[NAMSZ] = 0;
 	(void) strncpy(t0->death, killer, DTHSZ);
 	(t0->death)[DTHSZ] = 0;
-	(void) strcpy(t0->date, getdate());
+	(void) strcpy(t0->date, get_date());
 
 	/* assure minimum number of points */
 	if (t0->points < POINTSMIN)
diff --git a/hack/hack.unix.c b/hack/hack.unix.c
index 13f9724..ef17788 100644
--- a/hack/hack.unix.c
+++ b/hack/hack.unix.c
@@ -118,7 +118,7 @@ getyear()
 }
 
 char           *
-getdate()
+get_date()
 {
 	static char     datestr[7];
 	struct tm      *lt = getlt();