[collectd] [PATCH] network.c: Made network_receive() static.

Sebastian Harl sh at tokkee.org
Sun Jan 20 23:11:53 CET 2008


This function is not exported to any other module.

Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 src/network.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/network.c b/src/network.c
index 4ed7eb1..c347552 100644
--- a/src/network.c
+++ b/src/network.c
@@ -999,7 +999,7 @@ static int network_add_sending_socket (const char *node, const char *service)
 	return (0);
 } /* int network_get_listen_socket */
 
-int network_receive (void)
+static int network_receive (void)
 {
 	char buffer[BUFF_SIZE];
 	int  buffer_len;
-- 
1.5.4.rc3.37.gfdcf3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080120/e37d472f/attachment.pgp 


More information about the collectd mailing list