aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/testprog.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/testprog.c')
-rw-r--r--binutils/testsuite/binutils-all/testprog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/testsuite/binutils-all/testprog.c b/binutils/testsuite/binutils-all/testprog.c
index 6ead98e..b8531e2 100644
--- a/binutils/testsuite/binutils-all/testprog.c
+++ b/binutils/testsuite/binutils-all/testprog.c
@@ -1,12 +1,12 @@
/* This program is used to test objcopy, readelf and strip. */
-extern int strcmp (char *, const char *);
+extern int strcmp (const char *, const char *);
extern int printf (const char *, ...);
int common;
int global = 1;
static int local = 2;
-static char string[] = "string";
+static const char string[] = "string";
int
fn (void)