From 17313b6e3f875055c148e3543eea9027e554ca70 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 13 Sep 2009 17:47:07 +0000 Subject: (svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDs --- src/engine_gui.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/engine_gui.h') diff --git a/src/engine_gui.h b/src/engine_gui.h index b69f8d348..eb752f48a 100644 --- a/src/engine_gui.h +++ b/src/engine_gui.h @@ -16,9 +16,9 @@ typedef GUIList GUIEngineList; -typedef int CDECL EngList_SortTypeFunction(const void*, const void*); ///< argument type for EngList_Sort() -void EngList_Sort(GUIEngineList *el, EngList_SortTypeFunction compare); ///< qsort of the engine list -void EngList_SortPartial(GUIEngineList *el, EngList_SortTypeFunction compare, uint begin, uint num_items); ///< qsort of specified portion of the engine list +typedef int CDECL EngList_SortTypeFunction(const EngineID*, const EngineID*); ///< argument type for EngList_Sort() +void EngList_Sort(GUIEngineList *el, EngList_SortTypeFunction compare); ///< sort of the engine list +void EngList_SortPartial(GUIEngineList *el, EngList_SortTypeFunction compare, uint begin, uint num_items); ///< sort of specified portion of the engine list StringID GetEngineCategoryName(EngineID engine); StringID GetEngineInfoString(EngineID engine); -- cgit v1.2.3-54-g00ecf