mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
fixed bugs in configure.in, removed
This commit is contained in:
@@ -294,18 +294,18 @@ void WMFreeHashTable(WMHashTable *table);
|
||||
|
||||
void WMResetHashTable(WMHashTable *table);
|
||||
|
||||
const void* WMHashGet(WMHashTable *table, const void *key);
|
||||
void* WMHashGet(WMHashTable *table, const void *key);
|
||||
|
||||
/* put data in table, replacing already existing data and returning
|
||||
* the old value */
|
||||
const void* WMHashInsert(WMHashTable *table, const void *key, const void *data);
|
||||
void* WMHashInsert(WMHashTable *table, const void *key, const void *data);
|
||||
|
||||
void WMHashRemove(WMHashTable *table, const void *key);
|
||||
|
||||
/* warning: do not manipulate the table while using these functions */
|
||||
WMHashEnumerator WMEnumerateHashTable(WMHashTable *table);
|
||||
|
||||
const void* WMNextHashEnumeratorItem(WMHashEnumerator *enumerator);
|
||||
void* WMNextHashEnumeratorItem(WMHashEnumerator *enumerator);
|
||||
|
||||
unsigned WMCountHashTable(WMHashTable *table);
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ WMFreeHashTable(WMHashTable *table)
|
||||
|
||||
|
||||
|
||||
const void*
|
||||
void*
|
||||
WMHashGet(WMHashTable *table, const void *key)
|
||||
{
|
||||
unsigned h;
|
||||
@@ -211,14 +211,14 @@ WMHashGet(WMHashTable *table, const void *key)
|
||||
}
|
||||
}
|
||||
if (item)
|
||||
return item->data;
|
||||
return (void*)item->data;
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
const void*
|
||||
void*
|
||||
WMHashInsert(WMHashTable *table, const void *key, const void *data)
|
||||
{
|
||||
unsigned h;
|
||||
@@ -254,7 +254,7 @@ WMHashInsert(WMHashTable *table, const void *key, const void *data)
|
||||
RELKEY(table, item->key);
|
||||
item->key = DUPKEY(table, key);
|
||||
|
||||
return old;
|
||||
return (void*)old;
|
||||
} else {
|
||||
HashItem *nitem;
|
||||
|
||||
@@ -334,7 +334,7 @@ WMEnumerateHashTable(WMHashTable *table)
|
||||
|
||||
|
||||
|
||||
const void*
|
||||
void*
|
||||
WMNextHashEnumeratorItem(WMHashEnumerator *enumerator)
|
||||
{
|
||||
const void *data = NULL;
|
||||
@@ -357,7 +357,7 @@ WMNextHashEnumeratorItem(WMHashEnumerator *enumerator)
|
||||
enumerator->nextItem = ((HashItem*)enumerator->nextItem)->next;
|
||||
}
|
||||
|
||||
return data;
|
||||
return (void*)data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ if test "$ac_cv_prog_gcc" = yes; then
|
||||
esac
|
||||
changequote([,])dnl
|
||||
|
||||
if $host_os != "linux"; then
|
||||
if test "$host_os" != "linux" -a "$host_os" != "linux-gnu" ; then
|
||||
x86=0
|
||||
fi
|
||||
|
||||
@@ -864,6 +864,7 @@ AC_OUTPUT(Makefile po/Makefile util/Makefile test/Makefile wmlib/Makefile \
|
||||
WindowMaker/Styles/Makefile WindowMaker/Themes/Makefile \
|
||||
WPrefs.app/Makefile WPrefs.app/tiff/Makefile WPrefs.app/xpm/Makefile \
|
||||
WPrefs.app/po/Makefile contrib/WindowMaker.spec )
|
||||
# plugins/Makefile plugins/libwmfun/Makefile)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user