summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.h
diff options
context:
space:
mode:
authorZhou Zhengping <johnzzpcrystal@gmail.com>2016-07-11 07:28:44 -0400
committerVijay Bellur <vbellur@redhat.com>2016-07-12 11:13:51 -0700
commit4768760d5eb0ee8a0251e7776ed03d130c747164 (patch)
treebf45cd5ac9da86918f5247c38fc9a984e824b111 /libglusterfs/src/dict.h
parent19adaad015a8e13206f656eaee135881a2da58eb (diff)
build: fix noisy compilation warning with current build option Wstrict-prototypes
Change-Id: I50904033aa2beb880dee828849f470ac31048a79 BUG: 1354221 Signed-off-by: Zhou Zhengping <johnzzpcrystal@gmail.com> Reviewed-on: http://review.gluster.org/14884 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src/dict.h')
-rw-r--r--libglusterfs/src/dict.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/dict.h b/libglusterfs/src/dict.h
index c5b82677e2e..afe83d68fc3 100644
--- a/libglusterfs/src/dict.h
+++ b/libglusterfs/src/dict.h
@@ -154,10 +154,10 @@ char *data_to_str (data_t *data);
void *data_to_bin (data_t *data);
void *data_to_ptr (data_t *data);
-data_t *get_new_data ();
+data_t *get_new_data (void);
data_t * data_copy (data_t *old);
dict_t *get_new_dict_full (int size_hint);
-dict_t *get_new_dict ();
+dict_t *get_new_dict (void);
int dict_foreach (dict_t *this,
int (*fn)(dict_t *this,