summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-06-02 07:53:26 -0600
committerJim Meyering <meyering@redhat.com>2008-06-02 16:04:50 +0200
commiteebe7310143d24dd1b510b2df75ce776e70934ae (patch)
treebffe38c5cfab4f92a7218bfb15377f73cf855579 /src
parent91c1384602f5d7be5dd227f6926b7305fc4e496c (diff)
downloadcoreutils-eebe7310143d24dd1b510b2df75ce776e70934ae.tar.xz
export program_name, required by gnulib
* src/timeout.c (program_name): Export.
Diffstat (limited to 'src')
-rw-r--r--src/timeout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 19ec8499a..d7e344198 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -82,7 +82,8 @@ static int timed_out;
static int term_signal = SIGTERM; /* same default as kill command. */
static int monitored_pid;
static int sigs_to_ignore[NSIG]; /* so monitor can ignore sigs it resends. */
-static char *program_name;
+
+char *program_name;
static struct option const long_options[] = {
{"signal", required_argument, NULL, 's'},