diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-04-29 00:03:33 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-04-29 00:03:33 +0000 |
commit | 85b1c36d3172747a7587cbae0f5db46de2bffcd6 (patch) | |
tree | a794561d12ed4fc24570e56ff3ed2c51ec02424f /binutils/size.c | |
parent | c7f05afbc5bd49bf658ac14324117f7a257633cc (diff) | |
download | gdb-85b1c36d3172747a7587cbae0f5db46de2bffcd6.zip gdb-85b1c36d3172747a7587cbae0f5db46de2bffcd6.tar.gz gdb-85b1c36d3172747a7587cbae0f5db46de2bffcd6.tar.bz2 |
* ar.c (mri_mode): Make static.
* arsup.c (obfd, real_name, outfile): Likewise.
* binemul.c (ar_emul_create): Remove unused function.
(ar_emul_default_create): Likewise.
* binemul.h (ar_emul_create): Remove declaration.
(ar_emul_default_create): Likewise.
(struct bin_emulation_xfer_struct): Remove ar_create member.
* bucomm.c (report): Make static.
* bucomm.h (report): Remove declaration.
* cxxfilt.c (mbuffer): Make static.
(main): Use unsigned ints for some loop control variables.
* readelf.c: Make many global variables static.
* size.c (berkeley_format): Make static.
(long_options): Likewise.
* emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
structure initialiser.
(bin_aix5_emulation): Likewise.
* emul_vanilla.c (bin_vanilla_emulation): Likewise.
Diffstat (limited to 'binutils/size.c')
-rw-r--r-- | binutils/size.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils/size.c b/binutils/size.c index 615e786..1e1dc39 100644 --- a/binutils/size.c +++ b/binutils/size.c @@ -45,7 +45,9 @@ enum } radix = decimal; -int berkeley_format = BSD_DEFAULT; /* 0 means use AT&T-style output. */ +/* 0 means use AT&T-style output. */ +static int berkeley_format = BSD_DEFAULT; + int show_version = 0; int show_help = 0; int show_totals = 0; @@ -100,7 +102,7 @@ usage (FILE *stream, int status) exit (status); } -struct option long_options[] = +static struct option long_options[] = { {"format", required_argument, 0, 200}, {"radix", required_argument, 0, 201}, |