]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include/debug: remove duplicate 'const' declaration warning
authorSami Kerola <kerolasa@iki.fi>
Sun, 28 Sep 2014 19:51:47 +0000 (20:51 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Oct 2014 11:09:35 +0000 (13:09 +0200)
./include/debug.h:89:55: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/debug.h

index 25045aa942360113c3b9db9a18e81dd56bbcbf61..4dfc1eb32f9dc324ad4f5183969afbc752687a25 100644 (file)
@@ -86,7 +86,7 @@ ul_debugobj(void *handler, const char *mesg, ...)
        fputc('\n', stderr);
 }
 
-static inline int parse_envmask(const struct dbg_mask const flagnames[],
+static inline int parse_envmask(const struct dbg_mask flagnames[],
                                const char *mask)
 {
        int res;