summaryrefslogtreecommitdiff
path: root/src/include/util_Hash.h
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-09 11:21:33 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-09 11:21:33 +0000
commita0a54f40b639a31068ba8add1ff22d44b6d0fa38 (patch)
treea132a01615ed4a648484aa561e46bb9dd0f9ca1f /src/include/util_Hash.h
parentf350e8aeae3c80eb6ef554f2c7ce7f0b49af18cf (diff)
Made string arguments const. Some cosmetic changes.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1452 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/util_Hash.h')
-rw-r--r--src/include/util_Hash.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/util_Hash.h b/src/include/util_Hash.h
index f35690d4..1c404056 100644
--- a/src/include/util_Hash.h
+++ b/src/include/util_Hash.h
@@ -8,8 +8,8 @@
@version $Header$
@@*/
-#ifndef _HASH_H_
-#define _HASH_H_ 1
+#ifndef _UTIL_HASH_H_
+#define _UTIL_HASH_H_ 1
#ifdef __cplusplus
extern "C"
@@ -43,31 +43,31 @@ int Util_HashDestroy(uHash *hash);
int Util_HashStore(uHash *hash,
unsigned int klen,
- char *key,
+ const char *key,
unsigned int hashval,
void *data);
int Util_HashAdd(uHash *hash,
unsigned int klen,
- char *key,
+ const char *key,
unsigned int hashval,
void *data);
int Util_HashDelete(uHash *hash,
unsigned int klen,
- char *key,
+ const char *key,
unsigned int hashval);
void *Util_HashData(uHash *hash,
unsigned int klen,
- char *key,
+ const char *key,
unsigned int hashval);
unsigned int Util_HashHash(unsigned int klen,
- char *key);
+ const char *key);
#ifdef __cplusplus
}
#endif
-#endif /* _HASH_H_ */
+#endif /* _UTIL_HASH_H_ */