Commit 558ed5ae authored by Tom Lane's avatar Tom Lane

Fix discrepancy in prototypes for HPUX pg_dlerror.

parent 9a4ef0c5
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* all functions are defined here -- it's impossible to trace the * all functions are defined here -- it's impossible to trace the
...@@ -57,7 +57,7 @@ pg_dlclose(void *handle) ...@@ -57,7 +57,7 @@ pg_dlclose(void *handle)
} }
char * char *
pg_dlerror() pg_dlerror(void)
{ {
static char errmsg[] = "shl_load failed"; static char errmsg[] = "shl_load failed";
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* all functions are defined here -- it's impossible to trace the * all functions are defined here -- it's impossible to trace the
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
/* System includes */ /* System includes */
#include "fmgr.h" #include "fmgr.h"
void *pg_dlopen(char *filename); extern void *pg_dlopen(char *filename);
PGFunction pg_dlsym(void *handle, char *funcname); extern PGFunction pg_dlsym(void *handle, char *funcname);
void pg_dlclose(void *handle); extern void pg_dlclose(void *handle);
char *pg_dlerror(); extern char *pg_dlerror(void);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment