From 6df489fecc52451b3dcf017c44761859b1157a05 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 19 Jun 2022 08:30:28 +0300 Subject: [PATCH] Cleanup region.h See #42 --- src/region.cc | 3 ++- src/region.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/region.cc b/src/region.cc index f6934d4..3a80083 100644 --- a/src/region.cc +++ b/src/region.cc @@ -6,7 +6,8 @@ #include #include -char _aNull[] = ""; +// 0x50D394 +static char _aNull[] = ""; // Probably recalculates bounding box of the region. // diff --git a/src/region.h b/src/region.h index 516ab3e..22282d4 100644 --- a/src/region.h +++ b/src/region.h @@ -37,8 +37,6 @@ typedef struct Region { void* userData; } Region; -extern char _aNull[]; - void _regionSetBound(Region* region); Region* regionCreate(int a1); void regionAddPoint(Region* region, int x, int y);