diff options
author | Sami Kerola <kerolasa@iki.fi> | 2014-08-10 12:33:23 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-08-11 00:51:22 +0200 |
commit | d509efe0aab80b68610907d8099b0f337c9e9272 (patch) | |
tree | 7f57d9ca4638b6a91381dfe9a0c75dd39a526d10 | |
parent | 0573b57c7bdb4c82d6acd62f7923a6503f4f679a (diff) | |
download | libabc-d509efe0aab80b68610907d8099b0f337c9e9272.tar.gz |
remove redundant redeclarations
All three functions gave similar warning, here is a sample who the
message text looked.
src/libabc.c:236:24: warning: redundant redeclaration of 'abc_list_entry_get_next' [-Wredundant-decls]
struct abc_list_entry *abc_list_entry_get_next(struct abc_list_entry *list_entry);
^
In file included from src/libabc.c:30:0:
./src/abc/libabc.h:55:24: note: previous declaration of 'abc_list_entry_get_next' was here
struct abc_list_entry *abc_list_entry_get_next(struct abc_list_entry *list_entry);
-rw-r--r-- | src/libabc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libabc.c b/src/libabc.c index c3c1fef..23fdcd5 100644 --- a/src/libabc.c +++ b/src/libabc.c @@ -233,9 +233,6 @@ ABC_EXPORT void abc_set_log_priority(struct abc_ctx *ctx, int priority) } struct abc_list_entry; -struct abc_list_entry *abc_list_entry_get_next(struct abc_list_entry *list_entry); -const char *abc_list_entry_get_name(struct abc_list_entry *list_entry); -const char *abc_list_entry_get_value(struct abc_list_entry *list_entry); struct abc_thing { struct abc_ctx *ctx; |