diff options
author | Miles Bader <miles@gnu.org> | 1997-02-20 04:19:53 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-02-20 04:19:53 +0000 |
commit | 6bff4381ae50375438a925341a29a39cd460e9b1 (patch) | |
tree | 453995ce182f09d1c4ae2f6f00cf7198b4f99006 /trans | |
parent | 281068143f937385574a5a5fe14292fabcd08081 (diff) |
(argp_program_version): Make const.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/ChangeLog | 2 | ||||
-rw-r--r-- | trans/fifo.c | 2 | ||||
-rw-r--r-- | trans/null.c | 2 |
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) |