(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be declared in string_func.h.

This commit is contained in:
rubidium 2011-04-30 14:24:23 +00:00
parent 1c1e9f6941
commit 46c242b1dc
7 changed files with 7 additions and 2 deletions

View File

@ -21,6 +21,7 @@
#include "newgrf_engine.h"
#include "newgrf_text.h"
#include "group.h"
#include "string_func.h"
#include "strings_func.h"
#include "window_func.h"
#include "date_func.h"

View File

@ -13,6 +13,7 @@
#include "cargotype.h"
#include "core/bitmath_func.hpp"
#include "newgrf_cargo.h"
#include "string_func.h"
#include "strings_func.h"
#include "core/sort_func.hpp"

View File

@ -15,6 +15,7 @@
#include "vehicle_gui.h"
#include "vehicle_base.h"
#include "group.h"
#include "string_func.h"
#include "strings_func.h"
#include "window_func.h"
#include "vehicle_func.h"

View File

@ -210,4 +210,6 @@ char *strndup(const char *s, size_t len);
char *strcasestr(const char *haystack, const char *needle);
#endif /* strcasestr is available */
int strnatcmp(const char *s1, const char *s2);
#endif /* STRING_FUNC_H */

View File

@ -198,6 +198,4 @@ int CDECL StringIDSorter(const StringID *a, const StringID *b);
void CheckForMissingGlyphsInLoadedLanguagePack();
int strnatcmp(const char *s1, const char *s2);
#endif /* STRINGS_FUNC_H */

View File

@ -18,6 +18,7 @@
#include "company_base.h"
#include "company_gui.h"
#include "network/network.h"
#include "string_func.h"
#include "strings_func.h"
#include "sound_func.h"
#include "economy_func.h"

View File

@ -11,6 +11,7 @@
#include "../stdafx.h"
#include "../window_gui.h"
#include "../string_func.h"
#include "../strings_func.h"
#include "../window_func.h"
#include "dropdown_type.h"