diff options
author | Amar Tumballi <amarts@redhat.com> | 2012-11-14 12:23:36 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-01-23 11:12:15 -0800 |
commit | 4faeedc99284ce4e6b86bec39309b949fb5423ac (patch) | |
tree | 629b372b94e96c981494f995866aebf5d3f841ba /libglusterfs/src/rbthash.c | |
parent | 1ab086d8630687985fb412f4093a53d3e3e9aca1 (diff) |
"gcc -pedantic": made 'inline' functions as 'static inline' functions
for passing the build with -pedantic flag
Change-Id: I80fd9528321e4c6ea5bec32bf5cdc54cc4e4f65e
BUG: 875913
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Reviewed-on: http://review.gluster.org/4186
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/rbthash.c')
-rw-r--r-- | libglusterfs/src/rbthash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/rbthash.c b/libglusterfs/src/rbthash.c index cced943a3ee..0d7b9e521eb 100644 --- a/libglusterfs/src/rbthash.c +++ b/libglusterfs/src/rbthash.c @@ -227,7 +227,7 @@ rbthash_deinit_entry (rbthash_table_t *tbl, rbthash_entry_t *entry) } -inline struct rbthash_bucket * +static inline struct rbthash_bucket * rbthash_entry_bucket (rbthash_table_t *tbl, rbthash_entry_t * entry) { int nbucket = 0; @@ -301,7 +301,7 @@ err: return ret; } -inline struct rbthash_bucket * +static inline struct rbthash_bucket * rbthash_key_bucket (rbthash_table_t *tbl, void *key, int keylen) { uint32_t keyhash = 0; |