From: Christophe CURIS <[email protected]>

Although this is a modification of the public API, this patch does not
change the binary interface, and the attribute does not add a constraint
on the parameter for the caller so we do not break the source compatibility
either.

Signed-off-by: Christophe CURIS <[email protected]>
---
 WINGs/WINGs/WUtil.h | 2 +-
 WINGs/hashtable.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/WINGs/WINGs/WUtil.h b/WINGs/WINGs/WUtil.h
index ec691f4..246ef2d 100644
--- a/WINGs/WINGs/WUtil.h
+++ b/WINGs/WINGs/WUtil.h
@@ -347,7 +347,7 @@ void WHandleEvents(void);
 /* ---[ WINGs/hashtable.c ]----------------------------------------------- */
 
 
-WMHashTable* WMCreateHashTable(WMHashTableCallbacks callbacks);
+WMHashTable* WMCreateHashTable(const WMHashTableCallbacks callbacks);
 
 void WMFreeHashTable(WMHashTable *table);
 
diff --git a/WINGs/hashtable.c b/WINGs/hashtable.c
index d8e53a2..c4c8214 100644
--- a/WINGs/hashtable.c
+++ b/WINGs/hashtable.c
@@ -90,7 +90,7 @@ static void rebuildTable(WMHashTable * table)
        wfree(oldArray);
 }
 
-WMHashTable *WMCreateHashTable(WMHashTableCallbacks callbacks)
+WMHashTable *WMCreateHashTable(const WMHashTableCallbacks callbacks)
 {
        HashTable *table;
 
-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to