mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
I suggest the following portability patch, which does not
change functionality, but makes the code more ANSI C'ish. My AIX xlc compiler barfs on all of these. Can someone please review and apply to current. <<port.patch>> Thanks Andreas
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
extern char *ps_status_buffer;
|
||||
|
||||
#define PS_DEFINE_BUFFER \
|
||||
char *ps_status_buffer = NULL;
|
||||
char *ps_status_buffer = NULL
|
||||
|
||||
#define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname) \
|
||||
{ \
|
||||
@@ -53,7 +53,7 @@ char *ps_status_buffer = NULL;
|
||||
extern const char **ps_status;
|
||||
|
||||
#define PS_DEFINE_BUFFER \
|
||||
const char **ps_status = NULL;
|
||||
const char **ps_status = NULL
|
||||
|
||||
#define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user