]> sigrok.org Git - libsigrok.git/commit
input/raw_analog: Prevent "duplicate const decl specifier" warning
authorSoeren Apel <redacted>
Tue, 22 Mar 2016 07:29:25 +0000 (08:29 +0100)
committerSoeren Apel <redacted>
Tue, 22 Mar 2016 07:29:25 +0000 (08:29 +0100)
commit1393bccfcbfa47c55e29b5a453d9d976ebd58a03
tree59ab64d61cdff0a43ac514077f05a2cfa6ceafa0
parentd9d57ceb283dc43f5f80619d24e5233666644dfb
input/raw_analog: Prevent "duplicate const decl specifier" warning

Warnings emitted by gcc before this patch:
src/input/raw_analog.c:51:13: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
        const char const *fmt_name;
                   ^
src/input/raw_analog.c:55:35: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
static const struct sample_format const sample_formats[] =
                                  ^
src/input/raw_analog.c