summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-04-30 13:10:54 +0200
committerStefan Metzmacher <metze@samba.org>2009-05-01 17:41:38 +0200
commit182a4b30dee11286b87431db09ec198e02b347cb (patch)
tree6f23b31dab4a832ee91e2f9cd0f5867c55893326
parentb46599590f0b2801e1658dc32b6c074d5a14828c (diff)
downloadsamba-182a4b30dee11286b87431db09ec198e02b347cb.tar.gz
samba-182a4b30dee11286b87431db09ec198e02b347cb.tar.bz2
samba-182a4b30dee11286b87431db09ec198e02b347cb.zip
tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket()
metze
-rw-r--r--lib/tsocket/tsocket.h14
-rw-r--r--lib/tsocket/tsocket_bsd.c10
2 files changed, 12 insertions, 12 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h
index 84e74afa89..a4ae3fc32a 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 34ae60ee09..2b68f178c3 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,