diff options
author | emaste <emaste@FreeBSD.org> | 2014-12-01 16:07:31 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-12-01 16:07:31 +0000 |
commit | a3eff01c3a1b3341e05810f1d4db9eed3e136b43 (patch) | |
tree | 2f257d2ce9237ffcf390f123fc1d565374752f18 /contrib/elftoolchain/strings/strings.c | |
parent | d99dad80f5a85492f757ab60d5e2b5ba1e33bb29 (diff) | |
download | FreeBSD-src-a3eff01c3a1b3341e05810f1d4db9eed3e136b43.zip FreeBSD-src-a3eff01c3a1b3341e05810f1d4db9eed3e136b43.tar.gz |
Fix elftoolchain tools in-tree build
* make variables static
* add header for uint*_t typedefs
Diffstat (limited to 'contrib/elftoolchain/strings/strings.c')
-rw-r--r-- | contrib/elftoolchain/strings/strings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/elftoolchain/strings/strings.c b/contrib/elftoolchain/strings/strings.c index c936d5c..e8972e7 100644 --- a/contrib/elftoolchain/strings/strings.c +++ b/contrib/elftoolchain/strings/strings.c @@ -75,9 +75,9 @@ enum encoding_style { (encoding == ENCODING_8BIT && (c) > 127))) -int encoding_size, entire_file, min_len, show_filename, show_loc; -enum encoding_style encoding; -enum radix_style radix; +static int encoding_size, entire_file, min_len, show_filename, show_loc; +static enum encoding_style encoding; +static enum radix_style radix; static struct option strings_longopts[] = { { "all", no_argument, NULL, 'a'}, |