From 7ed621b53f08fb9e4b3c0ff76c615ef44a70d58c Mon Sep 17 00:00:00 2001 From: bzt Date: Wed, 30 Oct 2019 01:14:20 +0100 Subject: [PATCH] More reduced scope fix by wasting more memory... --- code/M3D/m3d.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/M3D/m3d.h b/code/M3D/m3d.h index 82238f6d6..d8d0602f6 100644 --- a/code/M3D/m3d.h +++ b/code/M3D/m3d.h @@ -225,7 +225,6 @@ enum { /* aliases */ m3dp_bump = m3dp_map_Km, m3dp_refl = m3dp_map_Pm }; -extern m3dpd_t m3d_propertytypes[]; /* material property */ typedef struct { @@ -385,7 +384,7 @@ char *_m3d_safestr(char *in, int morelines); #ifdef M3D_IMPLEMENTATION #if !defined(M3D_NOIMPORTER) || defined(M3D_EXPORTER) /* material property definitions */ -m3dpd_t m3d_propertytypes[] = { +static m3dpd_t m3d_propertytypes[] = { M3D_PROPERTYDEF(m3dpf_color, m3dp_Kd, "Kd"), /* diffuse color */ M3D_PROPERTYDEF(m3dpf_color, m3dp_Ka, "Ka"), /* ambient color */ M3D_PROPERTYDEF(m3dpf_color, m3dp_Ks, "Ks"), /* specular color */