xml.h: add underscore for #ifdef guard - grabtitle - stupid HTML title grabber | |
git clone git://git.codemadness.org/grabtitle | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 504468dfde3fd13d0b695f54ba87a8a913d0e9fb | |
parent efe5e8763fcc364f504198009d79f841c48bf7dc | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Thu, 22 Apr 2021 20:20:07 +0200 | |
xml.h: add underscore for #ifdef guard | |
This is the common style. | |
Diffstat: | |
M xml.c | 2 +- | |
M xml.h | 4 ++-- | |
2 files changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/xml.c b/xml.c | |
@@ -240,7 +240,7 @@ xml_parse(XMLParser *x) | |
if (c == '!') { /* cdata and comments */ | |
for (tagdatalen = 0; (c = GETNEXT()) != EOF;) { | |
- /* NOTE: sizeof(x->data) must be atlea… | |
+ /* NOTE: sizeof(x->data) must be at le… | |
if (tagdatalen <= sizeof("[CDATA[") - … | |
x->data[tagdatalen++] = c; | |
if (c == '>') | |
diff --git a/xml.h b/xml.h | |
@@ -1,5 +1,5 @@ | |
-#ifndef _XML_H | |
-#define _XML_H | |
+#ifndef _XML_H_ | |
+#define _XML_H_ | |
#include <stdio.h> | |