From 3909786d90499355617cba619d3668771b7a56d3 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 14 May 2023 23:37:40 +0200 Subject: 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 --- xml.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xml.h') 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 -- cgit v1.2.3