1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Fix compiler warning.

get_user_name returns const char *, but we were assigning the result
to a char * variable.
This commit is contained in:
Robert Haas
2013-12-18 13:31:35 -05:00
parent 001a573a20
commit 6bb9d3017c
2 changed files with 6 additions and 5 deletions

View File

@ -443,7 +443,7 @@ void check_pghost_envvar(void);
/* util.c */
char *quote_identifier(const char *s);
int get_user_info(char **user_name);
int get_user_info(char **user_name_p);
void check_ok(void);
void
report_status(eLogType type, const char *fmt,...)