From df69022bebe444a0c2ec2c9316748dc1dd833b4e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 29 May 2012 00:41:39 +0200 Subject: [PATCH] enable -Wmissing-declarations --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0