aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/hpux/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/hpux/port.c')
-rw-r--r--src/backend/port/hpux/port.c32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/backend/port/hpux/port.c b/src/backend/port/hpux/port.c
index 205a3178267..8f37cd44484 100644
--- a/src/backend/port/hpux/port.c
+++ b/src/backend/port/hpux/port.c
@@ -1,47 +1,49 @@
/*-------------------------------------------------------------------------
*
* port.c--
- * port-specific routines for HP-UX
+ * port-specific routines for HP-UX
*
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/port.c,v 1.2 1997/07/27 18:52:05 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/port.c,v 1.3 1997/09/07 04:45:52 momjian Exp $
*
* NOTES
- * For the most part, this file gets around some non-POSIX calls
- * in POSTGRES.
+ * For the most part, this file gets around some non-POSIX calls
+ * in POSTGRES.
*
*-------------------------------------------------------------------------
*/
-#include <unistd.h> /* for rand()/srand() prototypes */
-#include <math.h> /* for pow() prototype */
-#include <sys/syscall.h> /* for syscall #defines */
+#include <unistd.h> /* for rand()/srand() prototypes */
+#include <math.h> /* for pow() prototype */
+#include <sys/syscall.h> /* for syscall #defines */
#include "c.h"
void
init_address_fixup()
{
- /*
- * On PA-RISC, unaligned access fixup is handled by the compiler,
- * not by the kernel.
- */
+
+ /*
+ * On PA-RISC, unaligned access fixup is handled by the compiler, not
+ * by the kernel.
+ */
}
long
random()
{
- return(lrand48());
+ return (lrand48());
}
-void srandom(unsigned seed)
+void
+srandom(unsigned seed)
{
srand48((long int) seed);
}
-getrusage(int who, struct rusage *ru)
+getrusage(int who, struct rusage * ru)
{
- return(syscall(SYS_GETRUSAGE, who, ru));
+ return (syscall(SYS_GETRUSAGE, who, ru));
}