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:
		
				
					committed by
					
						
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							f5956d1501
						
					
				
				
					commit
					46509eb899
				
			@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user