summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/globals.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/globals.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/globals.h')
-rw-r--r--libglusterfs/src/globals.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h
index 25bd8dd2737..e6cb593c238 100644
--- a/libglusterfs/src/globals.h
+++ b/libglusterfs/src/globals.h
@@ -80,24 +80,24 @@
#define THIS (*__glusterfs_this_location())
#define DECLARE_OLD_THIS xlator_t *old_THIS = THIS
-xlator_t **__glusterfs_this_location ();
-xlator_t *glusterfs_this_get ();
+xlator_t **__glusterfs_this_location (void);
+xlator_t *glusterfs_this_get (void);
int glusterfs_this_set (xlator_t *);
/* syncopctx */
-void *syncopctx_getctx ();
+void *syncopctx_getctx (void);
int syncopctx_setctx (void *ctx);
/* task */
-void *synctask_get ();
+void *synctask_get (void);
int synctask_set (void *);
/* uuid_buf */
-char *glusterfs_uuid_buf_get ();
+char *glusterfs_uuid_buf_get (void);
/* lkowner_buf */
-char *glusterfs_lkowner_buf_get ();
+char *glusterfs_lkowner_buf_get (void);
/* leaseid buf */
-char *glusterfs_leaseid_buf_get ();
+char *glusterfs_leaseid_buf_get (void);
/* init */
int glusterfs_globals_init (glusterfs_ctx_t *ctx);