From 7d2367053e2c04c3600fb75d5f2adb34618afbc1 Mon Sep 17 00:00:00 2001 From: r-lyeh Date: Thu, 25 Aug 2016 13:32:00 +0200 Subject: [PATCH] Fix duplicate symbols when lib is included statically more than once --- stb_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_image.h b/stb_image.h index a3c1129..f1c5db1 100644 --- a/stb_image.h +++ b/stb_image.h @@ -5077,7 +5077,7 @@ errorEnd: } // read 16bit value and convert to 24bit RGB -void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out) +static void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out) { stbi__uint16 px = stbi__get16le(s); stbi__uint16 fiveBitMask = 31;