summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/ecpg.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-05-12 13:38:49 +0000
committerBruce Momjian <bruce@momjian.us>2004-05-12 13:38:49 +0000
commitb1ffacddfc2f558ad150d05a79318b7e58c572b2 (patch)
tree36ceb14a37eab41f2eecb6ddf9b0d10b9f5e355b /src/interfaces/ecpg/preproc/ecpg.c
parent3bfd4d9284877980fc3c452704bf9c650f1f731a (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/interfaces/ecpg/preproc/ecpg.c')
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c
index 5629f2b944b..40edf0ecc43 100644
--- a/src/interfaces/ecpg/preproc/ecpg.c
+++ b/src/interfaces/ecpg/preproc/ecpg.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.85 2004/01/28 20:43:03 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.86 2004/05/12 13:38:48 momjian Exp $ */
/* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
@@ -119,7 +119,7 @@ main(int argc, char *const argv[])
verbose = false,
out_option = 0;
struct _include_path *ip;
- char *progname;
+ const char *progname;
progname = get_progname(argv[0]);