From 828b2b7059093972381bc64047025a7d8cac508e Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 7 Aug 2012 10:03:47 +0530 Subject: core: moved back the pthread_key_t specific variables as global in a patch to move all the global variables inside 'ctx', moved all the pthread_key_t specific globals, which needed to be global, not inside some structures. Change-Id: I5e7107a8a64f5b80e90fd469fb084f62b2312705 Signed-off-by: Amar Tumballi BUG: 764890 Reviewed-on: http://review.gluster.com/3783 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/globals.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libglusterfs/src/globals.h') diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index 47a81afb8..e13902b29 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -24,12 +24,12 @@ int glusterfs_this_set (xlator_t *); /* task */ void *synctask_get (); -int synctask_set (glusterfs_ctx_t *, void *); +int synctask_set (void *); /* uuid_buf */ -char *glusterfs_uuid_buf_get(glusterfs_ctx_t *); +char *glusterfs_uuid_buf_get(); /* lkowner_buf */ -char *glusterfs_lkowner_buf_get(glusterfs_ctx_t *); +char *glusterfs_lkowner_buf_get(); /* init */ int glusterfs_globals_init (glusterfs_ctx_t *ctx); -- cgit