Fix discrepancy in prototypes for HPUX pg_dlerror.

This commit is contained in:
Tom Lane 2004-01-04 04:06:37 +00:00
parent 9a4ef0c562
commit 558ed5aee1
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/port/dynloader/hpux.c,v 1.23 2003/11/29 19:51:54 pgsql Exp $
* $PostgreSQL: pgsql/src/backend/port/dynloader/hpux.c,v 1.24 2004/01/04 04:06:37 tgl Exp $
*
* NOTES
* all functions are defined here -- it's impossible to trace the
@ -57,7 +57,7 @@ pg_dlclose(void *handle)
}
char *
pg_dlerror()
pg_dlerror(void)
{
static char errmsg[] = "shl_load failed";

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/port/dynloader/hpux.h,v 1.8 2003/11/29 19:51:54 pgsql Exp $
* $PostgreSQL: pgsql/src/backend/port/dynloader/hpux.h,v 1.9 2004/01/04 04:06:37 tgl Exp $
*
* NOTES
* all functions are defined here -- it's impossible to trace the
@ -19,7 +19,7 @@
/* System includes */
#include "fmgr.h"
void *pg_dlopen(char *filename);
PGFunction pg_dlsym(void *handle, char *funcname);
void pg_dlclose(void *handle);
char *pg_dlerror();
extern void *pg_dlopen(char *filename);
extern PGFunction pg_dlsym(void *handle, char *funcname);
extern void pg_dlclose(void *handle);
extern char *pg_dlerror(void);