Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
Define inline functions as static.
Browse files Browse the repository at this point in the history
  • Loading branch information
tricky committed Mar 31, 2010
1 parent 86d850c commit 70d0d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hash_si.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void hash_si_deinit(struct hash_si *h) {
* @param key_len Key length.
* @return index.
*/
inline size_t _hash_si_find(struct hash_si *h, const char *key, size_t key_len) {
inline static size_t _hash_si_find(struct hash_si *h, const char *key, size_t key_len) {
uint32_t hv;
size_t size;

Expand Down Expand Up @@ -155,7 +155,7 @@ int hash_si_remove(struct hash_si *h, const char *key, size_t key_len, uint32_t
/** Rehash/resize hash_si.
* @param h Pointer to hash_si struct.
*/
inline void hash_si_rehash(struct hash_si *h) {
inline static void hash_si_rehash(struct hash_si *h) {
uint32_t hv;
int i;
struct hash_si newh;
Expand Down

0 comments on commit 70d0d8b

Please sign in to comment.