diff options
author | James Bursa <james@netsurf-browser.org> | 2006-08-20 16:02:22 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2006-08-20 16:02:22 +0000 |
commit | efb9fd036bd5e7586d3afd7e27c851bfb9fe315e (patch) | |
tree | b1f527748e7d6f42c48dae517a27c3dd11e86389 /utils/hashtable.h | |
parent | 1f9fed85566a8eac647f0cd62db5380113ea0ef0 (diff) | |
download | netsurf-efb9fd036bd5e7586d3afd7e27c851bfb9fe315e.tar.gz netsurf-efb9fd036bd5e7586d3afd7e27c851bfb9fe315e.tar.bz2 |
Check for malloc failing in hash_add(). Remove unnecessary casts.
svn path=/trunk/netsurf/; revision=2873
Diffstat (limited to 'utils/hashtable.h')
-rw-r--r-- | utils/hashtable.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/hashtable.h b/utils/hashtable.h index 44c40d7c8..567cc28a7 100644 --- a/utils/hashtable.h +++ b/utils/hashtable.h @@ -5,10 +5,11 @@ * Copyright 2006 Rob Kendrick <rjek@rjek.com> */ -/** Write-Once hash table for string to string mappings */ +/** \file + * Write-Once hash table for string to string mappings */ -#ifndef _NETSURF_HASH_H_ -#define _NETSURF_HASH_H_ +#ifndef _NETSURF_UTILS_HASHTABLE_H_ +#define _NETSURF_UTILS_HASHTABLE_H_ #include <stdbool.h> |