summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-05-14 23:37:40 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-05-14 23:37:40 +0200
commit3909786d90499355617cba619d3668771b7a56d3 (patch)
treeb0d03920e327e9abf28e1ed45fb05a101b2aa8c1
parentbdcbf8589716c047a732db3cc349ee6114ccc25f (diff)
xml.h: _XML_H_: macro name with an underscore is a reserved identifier
Found with clang -Wreserved-macro-identifier See also: https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier
-rw-r--r--xml.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xml.h b/xml.h
index ad7d26b..122726c 100644
--- 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>