1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-04 00:23:49 +03:00

r6795: Make some functions static and remove some unused ones.

This commit is contained in:
Jelmer Vernooij
2005-05-15 20:16:26 +00:00
committed by Gerald (Jerry) Carter
parent f5956d1501
commit 46509eb899
23 changed files with 64 additions and 158 deletions

View File

@@ -87,12 +87,6 @@ NTSTATUS socket_create(const char *name, enum socket_type type,
return socket_create_with_ops(NULL, ops, new_sock, type, flags);
}
void socket_destroy(struct socket_context *sock)
{
/* the close is handled by the destructor */
talloc_free(sock);
}
NTSTATUS socket_connect(struct socket_context *sock,
const char *my_address, int my_port,
const char *server_address, int server_port,

View File

@@ -107,7 +107,6 @@ struct socket_context {
/* prototypes */
NTSTATUS socket_create(const char *name, enum socket_type type,
struct socket_context **new_sock, uint32_t flags);
void socket_destroy(struct socket_context *sock);
NTSTATUS socket_connect(struct socket_context *sock,
const char *my_address, int my_port,
const char *server_address, int server_port,