changeset 21580:061d5d4f7967

(time): Declare it only if not HAVE_UNISTD_H.
author Richard M. Stallman <rms@gnu.org>
date Thu, 16 Apr 1998 06:21:56 +0000
parents b26c7c2891b4
children 3aad7ffd0cd3
files src/fns.c
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Thu Apr 16 06:00:49 1998 +0000
+++ b/src/fns.c	Thu Apr 16 06:21:56 1998 +0000
@@ -60,6 +60,13 @@
 Lisp_Object Qwidget_type;
 
 static int internal_equal ();
+
+extern long get_random ();
+extern void seed_random ();
+
+#ifndef HAVE_UNISTD_H
+extern long time ();
+#endif
 
 DEFUN ("identity", Fidentity, Sidentity, 1, 1, 0,
   "Return the argument unchanged.")
@@ -69,10 +76,6 @@
   return arg;
 }
 
-extern long get_random ();
-extern void seed_random ();
-extern long time ();
-
 DEFUN ("random", Frandom, Srandom, 0, 1, 0,
   "Return a pseudo-random number.\n\
 All integers representable in Lisp are equally likely.\n\