diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-05-19 06:19:24 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-05-19 06:19:25 +1000 |
commit | f18e8d8db6246340c8840bd0ca2c43767009f14c (patch) | |
tree | 05c46d57c9b5d30a149a3d50d293ecf1778f10d8 /rts/Hash.h | |
parent | 5f1557eea2c1a5cf09321d9dc01070b6c068e2fa (diff) | |
download | haskell-f18e8d8db6246340c8840bd0ca2c43767009f14c.tar.gz |
rts: Add missing `const` from HashTable API
Thanks to Tamar Christina (Phyx) for spotting this.
Test Plan: Validate
Reviewers: simonmar, austin, trofi, bgamari, hsyl20, Phyx
Reviewed By: Phyx
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2236
Diffstat (limited to 'rts/Hash.h')
-rw-r--r-- | rts/Hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Hash.h b/rts/Hash.h index 2d0c5588c5..ebefd6f6c4 100644 --- a/rts/Hash.h +++ b/rts/Hash.h @@ -22,7 +22,7 @@ typedef struct hashtable HashTable; /* abstract */ HashTable * allocHashTable ( void ); void insertHashTable ( HashTable *table, StgWord key, const void *data ); void * lookupHashTable ( const HashTable *table, StgWord key ); -void * removeHashTable ( HashTable *table, StgWord key, void *data ); +void * removeHashTable ( HashTable *table, StgWord key, const void *data ); int keyCountHashTable (HashTable *table); |