summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-20 04:21:33 +0000
committerMiles Bader <miles@gnu.org>1997-02-20 04:21:33 +0000
commitc3e6c9ccbbdfaaf0237fff33c1111aba220aa20d (patch)
treead076cf12f17645a539142ca424879957f9e424c /libshouldbeinlibc
parent4e289d8699ca1503cb242737fac00d597c24c66f (diff)
(argp_program_version, argp_program_bug_address):
Make const.
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r--libshouldbeinlibc/argp-ex2.c4
-rw-r--r--libshouldbeinlibc/argp-ex3.c4
-rw-r--r--libshouldbeinlibc/argp-ex4.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/libshouldbeinlibc/argp-ex2.c b/libshouldbeinlibc/argp-ex2.c
index b3c3b212..a5acc3d7 100644
--- a/libshouldbeinlibc/argp-ex2.c
+++ b/libshouldbeinlibc/argp-ex2.c
@@ -18,8 +18,8 @@
#include <argp.h>
-char *argp_program_version = "argp-ex2 1.0";
-char *argp_program_bug_address = "<bug-gnu-utils@prep.ai.mit.edu>";
+const char *argp_program_version = "argp-ex2 1.0";
+const char *argp_program_bug_address = "<bug-gnu-utils@prep.ai.mit.edu>";
static char doc[] = "Argp example #2 -- a pretty minimal program using argp";
diff --git a/libshouldbeinlibc/argp-ex3.c b/libshouldbeinlibc/argp-ex3.c
index a784a646..5899e793 100644
--- a/libshouldbeinlibc/argp-ex3.c
+++ b/libshouldbeinlibc/argp-ex3.c
@@ -54,8 +54,8 @@
#include <argp.h>
-char *argp_program_version = "argp-ex3 1.0";
-char *argp_program_bug_address = "<bug-gnu-utils@prep.ai.mit.edu>";
+const char *argp_program_version = "argp-ex3 1.0";
+const char *argp_program_bug_address = "<bug-gnu-utils@prep.ai.mit.edu>";
static char doc[] =
"Argp example #3 -- a program with options and arguments using argp";
diff --git a/libshouldbeinlibc/argp-ex4.c b/libshouldbeinlibc/argp-ex4.c
index 13ad0983..cbb08b4b 100644
--- a/libshouldbeinlibc/argp-ex4.c
+++ b/libshouldbeinlibc/argp-ex4.c
@@ -23,8 +23,8 @@
#include <error.h>
#include <argp.h>
-char *argp_program_version = "argp-ex4 1.0";
-char *argp_program_bug_address = "<bug-gnu-utils@prep.ai.mit.edu>";
+const char *argp_program_version = "argp-ex4 1.0";
+const char *argp_program_bug_address = "<bug-gnu-utils@prep.ai.mit.edu>";
static char doc[] =
"Argp example #4 -- a program with somewhat more complicated options\