summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/strings/strings.c
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-12-01 16:07:31 +0000
committeremaste <emaste@FreeBSD.org>2014-12-01 16:07:31 +0000
commita3eff01c3a1b3341e05810f1d4db9eed3e136b43 (patch)
tree2f257d2ce9237ffcf390f123fc1d565374752f18 /contrib/elftoolchain/strings/strings.c
parentd99dad80f5a85492f757ab60d5e2b5ba1e33bb29 (diff)
downloadFreeBSD-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.c6
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'},
OpenPOWER on IntegriCloud