aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.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/bin/scripts/createlang.c
parent3bfd4d9284877980fc3c452704bf9c650f1f731a (diff)
downloadpostgresql-b1ffacddfc2f558ad150d05a79318b7e58c572b2.tar.gz
postgresql-b1ffacddfc2f558ad150d05a79318b7e58c572b2.zip
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/createlang.c')
-rw-r--r--src/bin/scripts/createlang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/createlang.c b/src/bin/scripts/createlang.c
index 64e257bc2f0..f75e9e07cdd 100644
--- a/src/bin/scripts/createlang.c
+++ b/src/bin/scripts/createlang.c
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.8 2004/03/19 18:58:07 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.9 2004/05/12 13:38:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,7 +33,7 @@ main(int argc, char *argv[])
{NULL, 0, NULL, 0}
};
- char *progname;
+ const char *progname;
int optindex;
int c;