aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/hpux/port-protos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/hpux/port-protos.h')
-rw-r--r--src/backend/port/hpux/port-protos.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/backend/port/hpux/port-protos.h b/src/backend/port/hpux/port-protos.h
new file mode 100644
index 00000000000..16206bb2509
--- /dev/null
+++ b/src/backend/port/hpux/port-protos.h
@@ -0,0 +1,34 @@
+/*-------------------------------------------------------------------------
+ *
+ * port-protos.h--
+ * port-specific prototypes for HP-UX
+ *
+ *
+ * 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 $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef PORT_PROTOS_H
+#define PORT_PROTOS_H
+
+#include <sys/resource.h> /* for struct rusage */
+#include <dl.h> /* for shl_t */
+
+#include "utils/dynamic_loader.h"
+
+/* dynloader.c */
+
+/* pg_dl{open,close,sym} prototypes are in utils/dynamic_loader.h */
+
+/* port.c */
+
+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 int getrusage(int who, struct rusage *ru);
+
+#endif /* PORT_PROTOS_H */