1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Improvements to the ultrix port, in particular a bunch of compiler

quieting prototyping in port/ultrix4.h

Submitted by: Erik Bertelsen <erik@sockdev.uni-c.dk>
This commit is contained in:
Marc G. Fournier
1997-02-13 09:54:14 +00:00
parent aa7dbd0b95
commit d62267c707
4 changed files with 68 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: port-protos.h,v 1.4 1997/01/16 06:32:17 bryanh Exp $
* $Id: port-protos.h,v 1.5 1997/02/13 09:53:57 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -32,9 +32,12 @@ extern char *fcvt(double, int, int*, int*);
#define pg_dlsym(h, f) ((func_ptr)dl_sym(h, f))
#define pg_dlclose(h) dl_close(h)
#define pg_dlerror() dl_error()
extern int dl_init(char *);
/* port.c */
extern int syscall();
extern void init_address_fixup(void);
/* strdup.c: strdup() is not part of libc on Ultrix */
@@ -44,6 +47,7 @@ extern char* strdup(char const*);
backend/port/inet_aton.h
*/
struct in_addr;
int
inet_aton(const char *cp, struct in_addr *addr);

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/ultrix4/Attic/port.c,v 1.1.1.1 1996/07/09 06:21:45 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/port/ultrix4/Attic/port.c,v 1.2 1997/02/13 09:53:59 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -15,6 +15,7 @@
#include <sys/sysmips.h>
#include "c.h"
#include "port-protos.h"
void
init_address_fixup()