mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Fix discrepancy in prototypes for HPUX pg_dlerror.
This commit is contained in:
@ -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)
|
|||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
pg_dlerror()
|
pg_dlerror(void)
|
||||||
{
|
{
|
||||||
static char errmsg[] = "shl_load failed";
|
static char errmsg[] = "shl_load failed";
|
||||||
|
|
||||||
|
@ -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 @@
|
|||||||
/* 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);
|
||||||
|
Reference in New Issue
Block a user