From: Daniel Carl <danielcarl@gmx.de>
Date: Sat, 7 Jun 2014 14:41:54 +0000 (+0200)
Subject: Use -ansi compile flag.
X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=bc5f472186560f8075c7aeb0adb682ca22848971;p=vimb.git

Use -ansi compile flag.

Fixed none ansi comment.
---

diff --git a/config.mk b/config.mk
index eaf6a00..66def08 100644
--- 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}
diff --git a/src/dom.h b/src/dom.h
index 9078808..a065863 100644
--- 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