summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--rmt/rmt.c6
2 files changed, 1 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 7044630..7a718a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,5 @@
2006-09-27 Sergey Poznyakoff <gray@gnu.org.ua>
- * rmt/rmt.c: Use program_invocation_name instead of program_name.
* tests/genfile.c (exec_command): Add extra spaces.
2006-09-08 Sergey Poznyakoff <gray@gnu.org.ua>
diff --git a/rmt/rmt.c b/rmt/rmt.c
index e2fece4..f144474 100644
--- a/rmt/rmt.c
+++ b/rmt/rmt.c
@@ -55,11 +55,7 @@
It must hold enough for any integer, possibly with a sign. */
#define STRING_SIZE (UINTMAX_STRSIZE_BOUND + 1)
-#ifdef HAVE_DECL_PROGRAM_INVOCATION_NAME
-# define program_name program_invocation_name
-#else
-extern char *program_name;
-#endif
+const char *program_name;
/* File descriptor of the tape device, or negative if none open. */
static int tape = -1;