projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e5eef
)
basename may be non-const on some systems, make cf_username static
author
Marko Kreen
<markokr@gmail.com>
Wed, 25 Jun 2008 15:07:36 +0000
(15:07 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Wed, 25 Jun 2008 15:07:36 +0000
(15:07 +0000)
src/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/main.c
b/src/main.c
index d066ce0c9cbf3b175da819d974746e453fba597b..d2c1a8ce0895e9b2180683ab75207d3d068b7179 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-43,7
+43,7
@@
static const char *usage_str =
" -V Show version\n"
" -h Show this help screen and exit\n";
-static void usage(int err, c
onst c
har *exe)
+static void usage(int err, char *exe)
{
printf(usage_str, basename(exe));
exit(err);
@@
-60,7
+60,7
@@
int cf_pause_mode = P_NONE;
int cf_shutdown = 0;
int cf_reboot = 0;
int cf_syslog = 0;
-char *cf_username = "";
+
static
char *cf_username = "";
char *cf_syslog_facility = "daemon";
static char *cf_config_file;