xml.h: add underscore for #ifdef guard - grabtitle - stupid HTML title grabber
(HTM) git clone git://git.codemadness.org/grabtitle
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 504468dfde3fd13d0b695f54ba87a8a913d0e9fb
(DIR) parent efe5e8763fcc364f504198009d79f841c48bf7dc
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
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(-)
---
(DIR) 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 atleast sizeof("[CDATA[") */
+ /* NOTE: sizeof(x->data) must be at least sizeof("[CDATA[") */
if (tagdatalen <= sizeof("[CDATA[") - 1)
x->data[tagdatalen++] = c;
if (c == '>')
(DIR) 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>