summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/html/html_unescape.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 401ff08..c0792cd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -89,6 +89,6 @@ if(MSVC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4")
endif()
elseif(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=c99")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -std=c99 -pedantic")
endif()
diff --git a/src/html/html_unescape.h b/src/html/html_unescape.h
index 5d12662..9fd7969 100644
--- a/src/html/html_unescape.h
+++ b/src/html/html_unescape.h
@@ -129,7 +129,7 @@ __inline
__attribute__ ((__gnu_inline__))
#endif
#endif
-const struct html_ent *
+static const struct html_ent *
find_entity (str, len)
register const char *str;
register unsigned int len;