Skip to content

Commit 558ed5a

Browse files
committed
Fix discrepancy in prototypes for HPUX pg_dlerror.
1 parent 9a4ef0c commit 558ed5a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/backend/port/dynloader/hpux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/port/dynloader/hpux.c,v 1.23 2003/11/29 19:51:54 pgsql Exp $
11+
* $PostgreSQL: pgsql/src/backend/port/dynloader/hpux.c,v 1.24 2004/01/04 04:06:37 tgl Exp $
1212
*
1313
* NOTES
1414
* all functions are defined here -- it's impossible to trace the
@@ -57,7 +57,7 @@ pg_dlclose(void *handle)
5757
}
5858

5959
char *
60-
pg_dlerror()
60+
pg_dlerror(void)
6161
{
6262
static char errmsg[] = "shl_load failed";
6363

src/backend/port/dynloader/hpux.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/port/dynloader/hpux.h,v 1.8 2003/11/29 19:51:54 pgsql Exp $
11+
* $PostgreSQL: pgsql/src/backend/port/dynloader/hpux.h,v 1.9 2004/01/04 04:06:37 tgl Exp $
1212
*
1313
* NOTES
1414
* all functions are defined here -- it's impossible to trace the
@@ -19,7 +19,7 @@
1919
/* System includes */
2020
#include "fmgr.h"
2121

22-
void *pg_dlopen(char *filename);
23-
PGFunction pg_dlsym(void *handle, char *funcname);
24-
void pg_dlclose(void *handle);
25-
char *pg_dlerror();
22+
extern void *pg_dlopen(char *filename);
23+
extern PGFunction pg_dlsym(void *handle, char *funcname);
24+
extern void pg_dlclose(void *handle);
25+
extern char *pg_dlerror(void);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy