summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-03-28 08:48:41 +0000
committertron <tron@openttd.org>2005-03-28 08:48:41 +0000
commite4cb9dbb77910fc7d2b8c077924ecde3bb3d09c7 (patch)
tree77edf569a8bf3668758ecc3caccbc34e2087d72d /misc_gui.c
parent51eeea477b6e1b20f3505b1d002aa0d0c3d02341 (diff)
downloadopenttd-e4cb9dbb77910fc7d2b8c077924ecde3bb3d09c7.tar.xz
(svn r2098) Make a variable static, move a function declaration to a header and remove unnecessary preprocessor magic
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/misc_gui.c b/misc_gui.c
index dc2294c2c..acfc5e83c 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -20,6 +20,8 @@
#include "hal.h" // for file list
+static bool _savegame_sort_dirty;
+
bool _query_string_active;
typedef struct LandInfoData {
@@ -1142,12 +1144,6 @@ static void DrawFiosTexts(void)
DoDrawString(path, 2, 27, 16);
}
-#if defined(_WIN32)
- extern int CDECL compare_FiosItems (const void *a, const void *b);
-#else
- extern int compare_FiosItems (const void *a, const void *b);
-#endif
-
static void MakeSortedSaveGameList(void)
{