time(3) returns a time_t and not a long.

This commit is contained in:
Steve Price 1999-06-22 17:05:03 +00:00
parent ff5f768f22
commit ddcecda9c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19658
8 changed files with 88 additions and 24 deletions

View file

@ -1,6 +1,5 @@
diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
--- ./include/system.h Mon Nov 4 23:01:25 1996
+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
--- include/system.h.orig Mon Nov 4 08:01:25 1996
+++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -510,7 +510,7 @@
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
-E long FDECL(time, (time_t *));
+E time_t FDECL(time, (time_t *));
# endif /* ULTRIX */
#ifdef VMS

View file

@ -1,6 +1,5 @@
diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
--- ./include/system.h Mon Nov 4 23:01:25 1996
+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
--- include/system.h.orig Mon Nov 4 08:01:25 1996
+++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -510,7 +510,7 @@
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
-E long FDECL(time, (time_t *));
+E time_t FDECL(time, (time_t *));
# endif /* ULTRIX */
#ifdef VMS

View file

@ -1,6 +1,5 @@
diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
--- ./include/system.h Mon Nov 4 23:01:25 1996
+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
--- include/system.h.orig Mon Nov 4 08:01:25 1996
+++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -510,7 +510,7 @@
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
-E long FDECL(time, (time_t *));
+E time_t FDECL(time, (time_t *));
# endif /* ULTRIX */
#ifdef VMS

View file

@ -1,6 +1,5 @@
diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
--- ./include/system.h Mon Nov 4 23:01:25 1996
+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
--- include/system.h.orig Mon Nov 4 08:01:25 1996
+++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -510,7 +510,7 @@
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
-E long FDECL(time, (time_t *));
+E time_t FDECL(time, (time_t *));
# endif /* ULTRIX */
#ifdef VMS

View file

@ -1,6 +1,5 @@
diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
--- ./include/system.h Mon Nov 4 23:01:25 1996
+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
--- include/system.h.orig Mon Nov 4 08:01:25 1996
+++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -510,7 +510,7 @@
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
-E long FDECL(time, (time_t *));
+E time_t FDECL(time, (time_t *));
# endif /* ULTRIX */
#ifdef VMS

View file

@ -1,6 +1,5 @@
diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
--- ./include/system.h Mon Nov 4 23:01:25 1996
+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
--- include/system.h.orig Mon Nov 4 08:01:25 1996
+++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -510,7 +510,7 @@
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
-E long FDECL(time, (time_t *));
+E time_t FDECL(time, (time_t *));
# endif /* ULTRIX */
#ifdef VMS

View file

@ -1,6 +1,5 @@
diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
--- ./include/system.h Mon Nov 4 23:01:25 1996
+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
--- include/system.h.orig Mon Nov 4 08:01:25 1996
+++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -510,7 +510,7 @@
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
-E long FDECL(time, (time_t *));
+E time_t FDECL(time, (time_t *));
# endif /* ULTRIX */
#ifdef VMS

View file

@ -1,6 +1,5 @@
diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
--- ./include/system.h Mon Nov 4 23:01:25 1996
+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
--- include/system.h.orig Mon Nov 4 08:01:25 1996
+++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
@@ -510,7 +510,7 @@
# if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
E time_t FDECL(time, (time_t *));
# else
-E long FDECL(time, (time_t *));
+E time_t FDECL(time, (time_t *));
# endif /* ULTRIX */
#ifdef VMS