summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-29 19:40:21 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-29 19:40:21 +0000
commit0f50d8abcaa06f58252549b527e7c31eb706d23c (patch)
treeee80ff17dfffe521ad213a953dfab0746b94ac39
parentea7af1aad7288e6bd9b146f895b260eadd904ea8 (diff)
- minor shrinkage (-50b)
-rw-r--r--utils/ldd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index 757e4fb1e..17bab2079 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -150,10 +150,10 @@ struct library {
char *path;
struct library *next;
};
-struct library *lib_list = NULL;
-char not_found[] = "not found";
-char *interp_name = NULL;
-char *interp_dir = NULL;
+static struct library *lib_list = NULL;
+static char not_found[] = "not found";
+static char *interp_name = NULL;
+static char *interp_dir = NULL;
static int byteswap;
static int interpreter_already_found = 0;
@@ -759,8 +759,8 @@ int main(int argc, char **argv)
struct library *cur;
if (argc < 2) {
- fprintf(stderr, "ldd: missing file arguments\n");
- fprintf(stderr, "Try `ldd --help' for more information.\n");
+ fprintf(stderr, "ldd: missing file arguments\n"
+ "Try `ldd --help' for more information.\n");
exit(EXIT_FAILURE);
}
if (argc > 2)
@@ -775,8 +775,8 @@ int main(int argc, char **argv)
}
if (strcmp(*argv, "--help") == 0 || strcmp(*argv, "-h") == 0) {
- fprintf(stderr, "Usage: ldd [OPTION]... FILE...\n");
- fprintf(stderr, "\t--help\t\tprint this help and exit\n");
+ fprintf(stderr, "Usage: ldd [OPTION]... FILE...\n"
+ "\t--help\t\tprint this help and exit\n");
exit(EXIT_SUCCESS);
}