path: root/rpc
diff options
authorJeff Darcy <>2017-06-29 06:50:56 -0700
committerNiels de Vos <>2017-06-30 10:31:02 +0000
commit0be8e038d9bf90be94f3e3a7d6ea5bee88da9ecb (patch)
tree2f23f3b205a9bdd386488cc00a3d4b1f23b4a076 /rpc
parent50d72373fadf1174918e754e31bae3806aa4c214 (diff)
multiple: fix struct/typedef inconsistencies
The most common pattern, both in our code and elsewhere, is this: struct _xyz { ... }; typedef struct _xyz xyz_t; These exceptions - especially call_frame/call_stack - have been slowing down code navigation for years. By converging on a single pattern, navigating from xyz_t in code to the actual definition of struct _xyz (i.e. without having to visit the typedef first) might even be automatable. Change-Id: I0e5dd1f51f98e000173c62ef4ddc5b21d9ec44ed Signed-off-by: Jeff Darcy <> Reviewed-on: Smoke: Gluster Build System <> Tested-by: Jeff Darcy <> CentOS-regression: Gluster Build System <> Reviewed-by: Amar Tumballi <> Reviewed-by: Niels de Vos <>
Diffstat (limited to 'rpc')
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.h b/rpc/rpc-lib/src/rpc-transport.h
index ff6567c..33f474e 100644
--- a/rpc/rpc-lib/src/rpc-transport.h
+++ b/rpc/rpc-lib/src/rpc-transport.h
@@ -180,7 +180,7 @@ struct rpc_transport {
void *private;
- struct _client_t *xl_private;
+ struct _client *xl_private;
void *xl; /* Used for THIS */
void *mydata;
pthread_mutex_t lock;