Introduction
Introduction Statistics Contact Development Disclaimer Help
xml.h: _XML_H_: macro name with an underscore is a reserved identifier - sfeed …
git clone git://git.codemadness.org/sfeed
Log
Files
Refs
README
LICENSE
---
commit 3909786d90499355617cba619d3668771b7a56d3
parent bdcbf8589716c047a732db3cc349ee6114ccc25f
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 14 May 2023 23:37:40 +0200
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…
Diffstat:
M xml.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
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>
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.