diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-05-14 23:37:40 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-05-14 23:37:40 +0200 |
commit | 3909786d90499355617cba619d3668771b7a56d3 (patch) | |
tree | b0d03920e327e9abf28e1ed45fb05a101b2aa8c1 | |
parent | bdcbf8589716c047a732db3cc349ee6114ccc25f (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ -#ifndef _XML_H_ -#define _XML_H_ +#ifndef XML_H +#define XML_H #include <stdio.h> |