From 0ab84a10ef9aecbefa0ea81061d975904c6fb642 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 27 Sep 2006 09:17:36 +0000 Subject: Reverse changes to rmt.c --- ChangeLog | 1 - rmt/rmt.c | 6 +----- 2 files changed, 1 insertion(+), 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 - * rmt/rmt.c: Use program_invocation_name instead of program_name. * tests/genfile.c (exec_command): Add extra spaces. 2006-09-08 Sergey Poznyakoff 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; -- cgit v1.2.1