Mercurial > hg-stable
changeset 48280:d86908050375
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.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 21 Oct 2021 11:21:21 +0200 |
parents | 16c3fe46929a |
children | 96aa3a68d3b5 |
files | mercurial/bdiff.h mercurial/bitmanipulation.h mercurial/compat.h mercurial/mpatch.h |
diffstat | 4 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bdiff.h Mon Oct 18 16:24:00 2021 -0700 +++ b/mercurial/bdiff.h Thu Oct 21 11:21:21 2021 +0200 @@ -1,5 +1,5 @@ -#ifndef _HG_BDIFF_H_ -#define _HG_BDIFF_H_ +#ifndef HG_BDIFF_H +#define HG_BDIFF_H #include "compat.h"
--- a/mercurial/bitmanipulation.h Mon Oct 18 16:24:00 2021 -0700 +++ b/mercurial/bitmanipulation.h Thu Oct 21 11:21:21 2021 +0200 @@ -1,5 +1,5 @@ -#ifndef _HG_BITMANIPULATION_H_ -#define _HG_BITMANIPULATION_H_ +#ifndef HG_BITMANIPULATION_H +#define HG_BITMANIPULATION_H #include <string.h>