diff options
Diffstat (limited to 'src/bin/scripts/common.c')
-rw-r--r-- | src/bin/scripts/common.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/bin/scripts/common.c b/src/bin/scripts/common.c index a04cf19555f..a1a6993e724 100644 --- a/src/bin/scripts/common.c +++ b/src/bin/scripts/common.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/bin/scripts/common.c,v 1.1 2003/03/18 22:19:46 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/scripts/common.c,v 1.2 2003/04/04 20:42:13 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -36,19 +36,6 @@ get_user_name(const char *progname) /* - * Extracts the actual name of the program as called. - */ -char * -get_progname(char *argv0) -{ - if (!strrchr(argv0, '/')) - return argv0; - else - return strrchr(argv0, '/') + 1; -} - - -/* * Initialized NLS if enabled. */ void |