build: renable -Wstrict-prototypes compiler warning
authorThomas Haller <thaller@redhat.com>
Wed, 29 Oct 2014 11:59:51 +0000 (12:59 +0100)
committerThomas Haller <thaller@redhat.com>
Wed, 29 Oct 2014 13:09:52 +0000 (14:09 +0100)
commitf1a0b4afd20d03b047977b7715df9e557ee24d76
treef9c128e3de2f8017f598bbc6870f9ea9d8289611
parentdd243ceefe998be36b5f0bea014d007ba30ec3fb
build: renable -Wstrict-prototypes compiler warning

The warning -Wstrict-prototypes was disabled by commit
db9b1df0e47996ff8aaea468a11e1e97f64ee126 .

Enable it again, but avoid warnings for WiMax SDK by explicitly disabling the
compiler warning where needed.

Apparently clang does not produce a warning for -Wstrict-prototypes,
hence we don't need a clang specific #pragma.

Signed-off-by: Thomas Haller <thaller@redhat.com>
m4/compiler_warnings.m4
src/devices/wimax/iwmxsdk.c
src/devices/wimax/iwmxsdk.h
src/devices/wimax/nm-device-wimax.c
src/devices/wimax/nm-wimax-util.c
src/devices/wimax/nm-wimax-util.h