From c995981050b4de4cc70a9d02495964d667c7e7a3 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Fri, 15 May 2020 05:18:01 +0200 Subject: [PATCH] h2data: use static for homonyms --- tools/heretic2/h2data/animcomp.c | 2 +- tools/heretic2/h2data/sprites.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/heretic2/h2data/animcomp.c b/tools/heretic2/h2data/animcomp.c index a7619325..778f4c14 100644 --- a/tools/heretic2/h2data/animcomp.c +++ b/tools/heretic2/h2data/animcomp.c @@ -37,7 +37,7 @@ float *best; float *comp; float *tcomp; float *bestcomp; -float *frames; +static float *frames; float *base; int MatWidth; diff --git a/tools/heretic2/h2data/sprites.c b/tools/heretic2/h2data/sprites.c index 02d74bd5..8bd84ba9 100644 --- a/tools/heretic2/h2data/sprites.c +++ b/tools/heretic2/h2data/sprites.c @@ -25,7 +25,7 @@ #define MAX_SPRFRAMES MAX_MD2SKINS dsprite_t sprite; -dsprframe_t frames[MAX_SPRFRAMES]; +static dsprframe_t frames[MAX_SPRFRAMES]; char spritename[1024]; -- 2.39.2