mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Fix discrepancy in prototypes for HPUX pg_dlerror.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.22 2003/08/04 02:40:02 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.c,v 1.22.4.1 2004/01/04 04:06:45 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
|
||||||
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.h,v 1.7 2003/08/04 02:40:02 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/hpux.h,v 1.7.4.1 2004/01/04 04:06:45 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