mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
This probably ought to be kept in *all* the port files, but these two are the only ones that generated compiler warnings for me ...
14 lines
200 B
C
14 lines
200 B
C
/* $Id: srandom.c,v 1.9 1999/07/16 23:09:45 tgl Exp $ */
|
|
|
|
#include <stdlib.h>
|
|
#include <math.h>
|
|
#include <errno.h>
|
|
|
|
#include "config.h"
|
|
|
|
void
|
|
srandom(unsigned int seed)
|
|
{
|
|
srand48((long int) seed);
|
|
}
|