diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-07-27 18:52:43 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-07-27 18:52:43 +0000 |
commit | d5e21e0924401fc44bbcb2cf1f1491d01256a840 (patch) | |
tree | 57459139bff567242ef076edfa16b21baf51f0d1 /src/backend | |
parent | 3ac9d2fff321fa8f7996656b5a54a41461a0a84f (diff) | |
download | postgresql-d5e21e0924401fc44bbcb2cf1f1491d01256a840.tar.gz postgresql-d5e21e0924401fc44bbcb2cf1f1491d01256a840.zip |
HPUX 10 patches from Vladimir Turin
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/port/hpux/port-protos.h | 4 | ||||
-rw-r--r-- | src/backend/port/hpux/port.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/port/hpux/port-protos.h b/src/backend/port/hpux/port-protos.h index 16206bb2509..33d2dd66def 100644 --- a/src/backend/port/hpux/port-protos.h +++ b/src/backend/port/hpux/port-protos.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: port-protos.h,v 1.1.1.1 1996/07/09 06:21:43 scrappy Exp $ + * $Id: port-protos.h,v 1.2 1997/07/27 18:51:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -28,7 +28,7 @@ extern int init_address_fixup(void); extern double rint(double x); extern double cbrt(double x); extern long random(void); -extern void srandom(int seed); +extern void srandom(unsigned seed); extern int getrusage(int who, struct rusage *ru); #endif /* PORT_PROTOS_H */ diff --git a/src/backend/port/hpux/port.c b/src/backend/port/hpux/port.c index eccf3dc5c12..205a3178267 100644 --- a/src/backend/port/hpux/port.c +++ b/src/backend/port/hpux/port.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/port.c,v 1.1.1.1 1996/07/09 06:21:43 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/port.c,v 1.2 1997/07/27 18:52:05 momjian Exp $ * * NOTES * For the most part, this file gets around some non-POSIX calls @@ -36,7 +36,7 @@ random() return(lrand48()); } -void srandom(int seed) +void srandom(unsigned seed) { srand48((long int) seed); } |