summaryrefslogtreecommitdiff
path: root/src/expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand.c')
-rw-r--r--src/expand.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/expand.c b/src/expand.c
index 2cce8fbea..8efb81b33 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -51,9 +51,6 @@
allocated for the output line. */
#define OUTPUT_BLOCK 256
-/* The name this program was run with. */
-char const *program_name;
-
/* If true, convert blanks even after nonblank characters have been
read on the line. */
static bool convert_entire_line;
@@ -370,7 +367,7 @@ main (int argc, char **argv)
int c;
initialize_main (&argc, &argv);
- program_name = argv[0];
+ set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);