diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-12-19 22:47:00 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-12-19 22:47:00 +0000 |
commit | 903e21b4513a956bcbe2de6152b201b7fbd001f6 (patch) | |
tree | f179c10e8cb5d4158948d4c63b22630d033ae43e /src/backend/port/sparc_solaris/port-protos.h | |
parent | 4ee5f2b96524acc1f6b27eb8d304bb3a9f96b376 (diff) | |
download | postgresql-903e21b4513a956bcbe2de6152b201b7fbd001f6.tar.gz postgresql-903e21b4513a956bcbe2de6152b201b7fbd001f6.zip |
More cleanups. Move alot of the prototype definitions straight into
config.h, right beside their appropriate HAVE_ #ifdefs...one central
location that is included everywhere...
Diffstat (limited to 'src/backend/port/sparc_solaris/port-protos.h')
-rw-r--r-- | src/backend/port/sparc_solaris/port-protos.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/backend/port/sparc_solaris/port-protos.h b/src/backend/port/sparc_solaris/port-protos.h index 3f15b052c93..11434e254b5 100644 --- a/src/backend/port/sparc_solaris/port-protos.h +++ b/src/backend/port/sparc_solaris/port-protos.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: port-protos.h,v 1.7 1997/09/18 16:09:14 scrappy Exp $ + * $Id: port-protos.h,v 1.8 1997/12/19 22:46:15 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -35,22 +35,4 @@ #define pg_dlclose dlclose #define pg_dlerror dlerror -/* port.c */ -#ifndef HAVE_RANDOM -extern long random(void); -#endif -#ifndef HAVE_SRANDOM -extern void srandom(int seed); -#endif - -/* inet_aton.c in backend/port directory */ -extern int inet_aton(const char *cp, struct in_addr * addr); - -/* In system library, but can't find prototype in system library .h files */ -extern int gethostname(char *name, int namelen); - -/* In system library, but can't find prototype in system library .h files */ -#include <sys/resource.h> -extern int getrusage(int who, struct rusage * rusage); - #endif /* PORT_PROTOS_H */ |