diff options
author | Nick Clifton <nickc@redhat.com> | 2003-04-23 17:36:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-04-23 17:36:08 +0000 |
commit | 3f7de0e75e3af06d979c591dafb63ce87dc40515 (patch) | |
tree | 7e45364523745deadef276871273c39677aba56e /binutils/testsuite/binutils-all/testprog.c | |
parent | 834216a99a41614c9d422f64272b7ec187d0d703 (diff) | |
download | gdb-3f7de0e75e3af06d979c591dafb63ce87dc40515.zip gdb-3f7de0e75e3af06d979c591dafb63ce87dc40515.tar.gz gdb-3f7de0e75e3af06d979c591dafb63ce87dc40515.tar.bz2 |
Fix "readelf -wi" test
Diffstat (limited to 'binutils/testsuite/binutils-all/testprog.c')
-rw-r--r-- | binutils/testsuite/binutils-all/testprog.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/binutils/testsuite/binutils-all/testprog.c b/binutils/testsuite/binutils-all/testprog.c index 57de461..2a347c8 100644 --- a/binutils/testsuite/binutils-all/testprog.c +++ b/binutils/testsuite/binutils-all/testprog.c @@ -1,12 +1,11 @@ -/* This program is used to test objcopy and strip. */ +/* This program is used to test objcopy, readelf and strip. */ -#include <stdio.h> -#include <string.h> +extern int strcmp (char *, const char *); int common; int global = 1; static int local = 2; -static char string[] = "string"; +static unsigned char string[] = "string"; int fn () |