summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
diff options
context:
space:
mode:
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\