summaryrefslogtreecommitdiff
path: root/ctdb/include/ctdb_protocol.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-10-28 16:58:02 +1100
committerMartin Schwenke <martins@samba.org>2015-11-04 00:47:14 +0100
commitc43b381b71140913a59471d8000e3b2c804bf3f4 (patch)
tree24af9d4aaa7e8454c96671e9fa54c6d11ed9374a /ctdb/include/ctdb_protocol.h
parente8f8c633610469d631782deaa6ef0eabae735b20 (diff)
downloadsamba-c43b381b71140913a59471d8000e3b2c804bf3f4.tar.gz
ctdb-include: Remove unnecessary typedefs
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include/ctdb_protocol.h')
-rw-r--r--ctdb/include/ctdb_protocol.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index 6dcc0fcf827..6286a089f66 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -532,12 +532,10 @@ struct ctdb_ltdb_header {
/*
definitions for different socket structures
*/
-typedef struct sockaddr_in ctdb_addr_in;
-typedef struct sockaddr_in6 ctdb_addr_in6;
typedef union {
struct sockaddr sa;
- ctdb_addr_in ip;
- ctdb_addr_in6 ip6;
+ struct sockaddr_in ip;
+ struct sockaddr_in6 ip6;
} ctdb_sock_addr;
/*