diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 02:24:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 02:24:24 +0100 |
commit | 6b9f1633537e2ff06eb1a0741e4598a294f40fcb (patch) | |
tree | a13f4f3558c2988bc95b5a59c9996da64a0bd570 /modutils/depmod.c | |
parent | 17323a6245597f16321e6bf99536ae9bb89c79cf (diff) | |
download | busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.gz busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.bz2 busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.zip |
*: style fixes. no code changes (verified with objdump)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/depmod.c')
-rw-r--r-- | modutils/depmod.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index d6cc8ed59..4718c4dcb 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c | |||
@@ -80,9 +80,11 @@ static int FAST_FUNC parse_module(const char *fname, struct stat *sb UNUSED_PARA | |||
80 | && strncmp(ptr, "__ksymtab_", 10) == 0 | 80 | && strncmp(ptr, "__ksymtab_", 10) == 0 |
81 | ) { | 81 | ) { |
82 | ptr += 10; | 82 | ptr += 10; |
83 | if (strncmp(ptr, "gpl", 3) == 0 || | 83 | if (strncmp(ptr, "gpl", 3) == 0 |
84 | strcmp(ptr, "strings") == 0) | 84 | || strcmp(ptr, "strings") == 0 |
85 | ) { | ||
85 | continue; | 86 | continue; |
87 | } | ||
86 | llist_add_to(&info->symbols, xstrdup(ptr)); | 88 | llist_add_to(&info->symbols, xstrdup(ptr)); |
87 | ptr += strlen(ptr); | 89 | ptr += strlen(ptr); |
88 | } | 90 | } |