treewide: replace __FUNCTION__ by __func__

prefer C99 standard over non-standard legacy symbols

Signed-off-by: Chase <chinkle3@illinois.edu>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Chase
2025-11-05 18:06:12 -05:00
committed by Enrico Weigelt
parent 434331e129
commit fcbb2bafce
16 changed files with 31 additions and 35 deletions

View File

@@ -127,7 +127,7 @@ getDrawableDamageRef(DrawablePtr pDrawable)
static void
_damageRegionAppend(DrawablePtr pDrawable, RegionPtr pRegion, Bool clip,
int subWindowMode, const char *where)
#define damageRegionAppend(d,r,c,m) _damageRegionAppend(d,r,c,m,__FUNCTION__)
#define damageRegionAppend(d,r,c,m) _damageRegionAppend(d,r,c,m,__func__)
#else
static void
damageRegionAppend(DrawablePtr pDrawable, RegionPtr pRegion, Bool clip,
@@ -298,7 +298,7 @@ damageRegionProcessPending(DrawablePtr pDrawable)
}
#if DAMAGE_DEBUG_ENABLE
#define damageDamageBox(d,b,m) _damageDamageBox(d,b,m,__FUNCTION__)
#define damageDamageBox(d,b,m) _damageDamageBox(d,b,m,__func__)
static void
_damageDamageBox(DrawablePtr pDrawable, BoxPtr pBox, int subWindowMode,
const char *where)