aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-23 22:18:19 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-05-23 22:18:19 +0300
commitbd71ab695696e4c2058659ca29e408bda6ed9c43 (patch)
treec8b02680d135c96f8d66af5d98b55be6010e2851
parent90557d5cd883ed05f318707a468029eca3227fc5 (diff)
downloadcfpeek-bd71ab695696e4c2058659ca29e408bda6ed9c43.tar.gz
cfpeek-bd71ab695696e4c2058659ca29e408bda6ed9c43.tar.bz2
Make program_name global.
-rw-r--r--src/cfpeek.h1
-rw-r--r--src/cmdline.opt2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cfpeek.h b/src/cfpeek.h
index 90ed10b..37d47a5 100644
--- a/src/cfpeek.h
+++ b/src/cfpeek.h
@@ -24,6 +24,7 @@
#include "grecs.h"
#include "wordsplit.h"
+extern char *program_name;
extern char *script_file;
extern char *script_expr;
diff --git a/src/cmdline.opt b/src/cmdline.opt
index d4e329b..cbd2505 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -20,7 +20,7 @@
#include <unistd.h>
static struct grecs_txtacc *pp_cmd_acc;
-static char *program_name;
+char *program_name;
#define PREPROC_NOT_SET 0
#define PREPROC_SET 1

Return to:

Send suggestions and report system problems to the System administrator.