network plugin: Made network_receive() static. collectd-4.1.6
authorSebastian Harl <sh@tokkee.org>
Sun, 20 Jan 2008 22:11:53 +0000 (23:11 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 21 Jan 2008 09:53:05 +0000 (10:53 +0100)
This function is not exported to any other module.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/network.c

index a426214..1934431 100644 (file)
@@ -989,7 +989,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;