Use -ansi compile flag.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 7 Jun 2014 14:41:54 +0000 (16:41 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 7 Jun 2014 14:41:54 +0000 (16:41 +0200)
Fixed none ansi comment.

config.mk
src/dom.h

index eaf6a00..66def08 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -40,7 +40,7 @@ LIBFLAGS = $(shell pkg-config --libs $(LIBS))
 
 # normal compiler flags
 CFLAGS  += $(shell pkg-config --cflags $(LIBS))
-CFLAGS  += -Wall -pipe -std=c99
+CFLAGS  += -Wall -pipe -std=c99 -ansi -Wstrict-prototypes
 CFLAGS  += -Wno-overlength-strings -Werror=format-security
 CFLAGS  += ${CPPFLAGS}
 LDFLAGS += ${LIBFLAGS}
index 9078808..a065863 100644 (file)
--- a/src/dom.h
+++ b/src/dom.h
@@ -22,7 +22,7 @@
 
 #include <webkit/webkit.h>
 
-// Types
+/* Types */
 #define Document            WebKitDOMDocument
 #define HtmlElement         WebKitDOMHTMLElement
 #define Element             WebKitDOMElement