From: Felix Fietkau Date: Mon, 31 Dec 2012 17:49:15 +0000 (+0100) Subject: add -Wmissing-declarations X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuhttpd.git;a=commitdiff_plain;h=1fc5ad7f4fa30abc636680acd5e170198dfb6c32;hp=8515c92b9302b258be10df5c5cee240dd4b137f6 add -Wmissing-declarations --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e3af4d..c542df6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) PROJECT(uhttpd C) -ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3) +ADD_DEFINITIONS(-Os -Wall -Werror -Wmissing-declarations --std=gnu99 -g3) IF(APPLE) INCLUDE_DIRECTORIES(/opt/local/include)