changeset 2332:bc2f7dc78412

* sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is #defined.
author Jim Blandy <jimb@redhat.com>
date Tue, 23 Mar 1993 06:26:18 +0000
parents 4d6de8716513
children 47e301d9868b
files src/sysdep.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Tue Mar 23 05:57:11 1993 +0000
+++ b/src/sysdep.c	Tue Mar 23 06:26:18 1993 +0000
@@ -2045,6 +2045,7 @@
 }
 #endif /* not BSTRING */
 
+#ifndef HAVE_RANDOM
 #ifdef USG
 /*
  *	The BSD random returns numbers in the range of
@@ -2081,6 +2082,7 @@
   srand (arg);
 }
 #endif /* BSD4_1 */
+#endif
 
 #ifdef WRONG_NAME_INSQUE