From: Felix Fietkau Date: Wed, 19 Oct 2011 19:15:26 +0000 (+0200) Subject: add -Wmissing-declarations to cflags X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=1ba3b8a006b57646d55522bb9efa77769361ff39;hp=937a95ad71e00e99bd21add761e2f810b7fb4026 add -Wmissing-declarations to cflags --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a57123e..adb2c07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) PROJECT(netifd C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99) +ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations) SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")