]> granicus.if.org Git - postgresql/blobdiff - src/port/srandom.c
Don't zero opfuncid when reading nodes.
[postgresql] / src / port / srandom.c
index d0cef3792bc08d66ff830aa8ee74c1e62a6e8b86..db58f4eaba144f8636d026195a93be37ca4e5a72 100644 (file)
@@ -3,24 +3,23 @@
  * srandom.c
  *       srandom() wrapper
  *
- * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/port/srandom.c,v 1.3 2003/11/29 19:52:13 pgsql Exp $
+ *       src/port/srandom.c
  *
  *-------------------------------------------------------------------------
  */
 
 #include "c.h"
 
-#include <stdlib.h>
 #include <math.h>
-#include <errno.h>
+
 
 void
 srandom(unsigned int seed)
 {
-       srand48((long int) seed);
+       pg_srand48((long int) seed);
 }