diff options
author | 2004-12-08 15:10:21 -0700 | |
---|---|---|
committer | 2005-04-07 21:05:40 -0700 | |
commit | 80759030ba5c13b4f2d92b992be559ce7ee5b15b (patch) | |
tree | 521a78825ebe73430e0d3c2686fc2b6ab487f2c6 /storage.c | |
parent | Fix undefined symbol linearization case (diff) | |
download | sparse-80759030ba5c13b4f2d92b992be559ce7ee5b15b.tar.gz sparse-80759030ba5c13b4f2d92b992be559ce7ee5b15b.tar.bz2 sparse-80759030ba5c13b4f2d92b992be559ce7ee5b15b.zip |
Expose storage allocators to users of the storage code.
Diffstat (limited to 'storage.c')
-rw-r--r-- | storage.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -18,21 +18,6 @@ ALLOCATOR(storage, "storages"); ALLOCATOR(storage_hash, "storage hash"); -static inline struct storage *alloc_storage(void) -{ - return __alloc_storage(0); -} - -static inline struct storage_hash *alloc_storage_hash(struct storage *s) -{ - struct storage_hash *entry = __alloc_storage_hash(0); - struct storage **usep = &entry->storage; - - *usep = s; - add_ptr_list(&s->users, usep); - return entry; -} - #define MAX_STORAGE_HASH 64 struct storage_hash_list *storage_hash_table[MAX_STORAGE_HASH]; |