From 182a4b30dee11286b87431db09ec198e02b347cb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 30 Apr 2009 13:10:54 +0200 Subject: [PATCH 1/1] tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket() metze --- lib/tsocket/tsocket.h | 14 +++++++------- lib/tsocket/tsocket_bsd.c | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h index 84e74afa895..a4ae3fc32a2 100644 --- a/lib/tsocket/tsocket.h +++ b/lib/tsocket/tsocket.h @@ -110,13 +110,13 @@ int _tdgram_inet_udp_socket(const struct tsocket_address *local, #define tdgram_inet_udp_socket(local, remote, mem_ctx, dgram) \ _tdgram_inet_udp_socket(local, remote, mem_ctx, dgram, __location__) -int _tdgram_unix_dgram_socket(const struct tsocket_address *local, - const struct tsocket_address *remote, - TALLOC_CTX *mem_ctx, - struct tdgram_context **dgram, - const char *location); -#define tdgram_unix_dgram_socket(local, remote, mem_ctx, dgram) \ - _tdgram_unix_dgram_socket(local, remote, mem_ctx, dgram, __location__) +int _tdgram_unix_socket(const struct tsocket_address *local, + const struct tsocket_address *remote, + TALLOC_CTX *mem_ctx, + struct tdgram_context **dgram, + const char *location); +#define tdgram_unix_socket(local, remote, mem_ctx, dgram) \ + _tdgram_unix_socket(local, remote, mem_ctx, dgram, __location__) /* * Queue helpers diff --git a/lib/tsocket/tsocket_bsd.c b/lib/tsocket/tsocket_bsd.c index 34ae60ee090..2b68f178c32 100644 --- a/lib/tsocket/tsocket_bsd.c +++ b/lib/tsocket/tsocket_bsd.c @@ -1233,11 +1233,11 @@ int _tdgram_inet_udp_socket(const struct tsocket_address *local, return ret; } -int _tdgram_unix_dgram_socket(const struct tsocket_address *local, - const struct tsocket_address *remote, - TALLOC_CTX *mem_ctx, - struct tdgram_context **dgram, - const char *location) +int _tdgram_unix_socket(const struct tsocket_address *local, + const struct tsocket_address *remote, + TALLOC_CTX *mem_ctx, + struct tdgram_context **dgram, + const char *location) { struct tsocket_address_bsd *lbsda = talloc_get_type_abort(local->private_data, -- 2.34.1