summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-09-27 09:17:36 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-09-27 09:17:36 +0000
commit0ab84a10ef9aecbefa0ea81061d975904c6fb642 (patch)
tree06ff13b8a2af4b18972371fabb33ad903edc40d1
parent2b80f7f6a4a367107bff94038f4878ba10b5ae73 (diff)
downloadpaxutils-0ab84a10ef9aecbefa0ea81061d975904c6fb642.tar.gz
Reverse changes to rmt.c
-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;