summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
Diffstat (limited to 'trans')
-rw-r--r--trans/ChangeLog2
-rw-r--r--trans/fifo.c2
-rw-r--r--trans/null.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/trans/ChangeLog b/trans/ChangeLog
index 36397d0f..32dab6bd 100644
--- a/trans/ChangeLog
+++ b/trans/ChangeLog
@@ -1,5 +1,7 @@
Wed Feb 19 21:34:01 1997 Miles Bader <miles@gnu.ai.mit.edu>
+ * null.c (argp_program_version): Make const.
+
* fifo.c (argp_program_version, argp): New variables.
(parse_opt): New function.
(options): Use argp structures instead of getopt ones.
diff --git a/trans/fifo.c b/trans/fifo.c
index cc479643..6ef40e62 100644
--- a/trans/fifo.c
+++ b/trans/fifo.c
@@ -50,7 +50,7 @@ struct mutex active_fifo_lock;
/* Signal this when ACTIVE_FIFO may have changed. */
struct condition active_fifo_changed;
-char *argp_program_version = STANDARD_HURD_VERSION (null);
+const char *argp_program_version = STANDARD_HURD_VERSION (null);
static struct argp_option options[] =
{
diff --git a/trans/null.c b/trans/null.c
index 5f6e48d0..9942abb4 100644
--- a/trans/null.c
+++ b/trans/null.c
@@ -32,7 +32,7 @@
#include <limits.h>
#include <argp.h>
-char *argp_program_version = STANDARD_HURD_VERSION (null);
+const char *argp_program_version = STANDARD_HURD_VERSION (null);
void
main (int argc, char **argv)