From a6eb844fa254cbfb54498d277043348157d09997 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sat, 18 Jun 2022 16:56:42 +0300 Subject: [PATCH] Cleanup grayscale.h See #42 --- src/grayscale.cc | 2 +- src/grayscale.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/grayscale.cc b/src/grayscale.cc index 725e305..93fc682 100644 --- a/src/grayscale.cc +++ b/src/grayscale.cc @@ -5,7 +5,7 @@ #include // 0x596D90 -unsigned char _GreyTable[256]; +static unsigned char _GreyTable[256]; // 0x44FA78 void grayscalePaletteUpdate(int a1, int a2) diff --git a/src/grayscale.h b/src/grayscale.h index dd353c0..f17dd0d 100644 --- a/src/grayscale.h +++ b/src/grayscale.h @@ -1,8 +1,6 @@ #ifndef GRAYSCALE_H #define GRAYSCALE_H -extern unsigned char _GreyTable[256]; - void grayscalePaletteUpdate(int a1, int a2); void grayscalePaletteApply(unsigned char* surface, int width, int height, int pitch);