# HG changeset patch # User David Demelier # Date 2021-10-21 09:21:21 # Node ID d869080503758d124de4a93e9ca94db6a4f57d77 # Parent 16c3fe46929a9da72ba7439b89730f7a06207bff hg: remove reserved identifiers Per 7.1.3 paragraph, from C draft: All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use. diff --git a/mercurial/bdiff.h b/mercurial/bdiff.h --- a/mercurial/bdiff.h +++ b/mercurial/bdiff.h @@ -1,5 +1,5 @@ -#ifndef _HG_BDIFF_H_ -#define _HG_BDIFF_H_ +#ifndef HG_BDIFF_H +#define HG_BDIFF_H #include "compat.h" diff --git a/mercurial/bitmanipulation.h b/mercurial/bitmanipulation.h --- a/mercurial/bitmanipulation.h +++ b/mercurial/bitmanipulation.h @@ -1,5 +1,5 @@ -#ifndef _HG_BITMANIPULATION_H_ -#define _HG_BITMANIPULATION_H_ +#ifndef HG_BITMANIPULATION_H +#define HG_BITMANIPULATION_H #include diff --git a/mercurial/compat.h b/mercurial/compat.h --- a/mercurial/compat.h +++ b/mercurial/compat.h @@ -1,5 +1,5 @@ -#ifndef _HG_COMPAT_H_ -#define _HG_COMPAT_H_ +#ifndef HG_COMPAT_H +#define HG_COMPAT_H #ifdef _WIN32 #ifdef _MSC_VER diff --git a/mercurial/mpatch.h b/mercurial/mpatch.h --- a/mercurial/mpatch.h +++ b/mercurial/mpatch.h @@ -1,5 +1,5 @@ -#ifndef _HG_MPATCH_H_ -#define _HG_MPATCH_H_ +#ifndef HG_MPATCH_H +#define HG_MPATCH_H #define MPATCH_ERR_NO_MEM -3 #define MPATCH_ERR_CANNOT_BE_DECODED -2