diff options
| author | Bruce Momjian | 2004-05-12 13:38:49 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2004-05-12 13:38:49 +0000 |
| commit | 7fdc7c94f6300acb7efac834b983c59b7d4fb608 (patch) | |
| tree | 5c0a9397f196ee157c4a7ecca20834080f11ad50 /src/bin/scripts/createuser.c | |
| parent | 2e008392994d2a8e51446367a95497c1257159b9 (diff) | |
Rename find_my_binary/find_other_binary to
find_my_exec/find_other_exec(). Remove passing of progname to these
functions as they can find that out from argv[0], which they already
have.
Make get_progname return const char *, and update all progname variables
to be const char *.
Diffstat (limited to 'src/bin/scripts/createuser.c')
| -rw-r--r-- | src/bin/scripts/createuser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c index fd627b7f1a..4a36161788 100644 --- a/src/bin/scripts/createuser.c +++ b/src/bin/scripts/createuser.c @@ -39,7 +39,7 @@ main(int argc, char *argv[]) {NULL, 0, NULL, 0} }; - char *progname; + const char *progname; int optindex; int c; |
