From: Felix Fietkau Date: Mon, 28 May 2012 22:41:39 +0000 (+0200) Subject: enable -Wmissing-declarations X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=commitdiff_plain;h=df69022bebe444a0c2ec2c9316748dc1dd833b4e enable -Wmissing-declarations --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9057b3c..9ecce85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) PROJECT(ubus C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3) +ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations) OPTION(BUILD_LUA "build Lua plugin" ON)