aboutsummaryrefslogtreecommitdiffstats
path: root/gg_map/gg_map.c
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-28 02:03:50 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-28 02:03:50 +0200
commit17b89e1100e7ea8d4c27a2cd9c4e359d6c9320ca (patch)
tree63e883b85c8c9f4f7d8f5198379e9e7e108e8678 /gg_map/gg_map.c
parentlibglouglou: traceroute: improve hops counting (diff)
downloadglouglou-17b89e1100e7ea8d4c27a2cd9c4e359d6c9320ca.tar.xz
glouglou-17b89e1100e7ea8d4c27a2cd9c4e359d6c9320ca.zip
gg_map: fix function declaration
no functional change
Diffstat (limited to '')
-rw-r--r--gg_map/gg_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gg_map/gg_map.c b/gg_map/gg_map.c
index 73f125e..b3f01c7 100644
--- a/gg_map/gg_map.c
+++ b/gg_map/gg_map.c
@@ -36,7 +36,7 @@ _cb_ecore_libevent(void *data) {
return EINA_TRUE;
}
-const char*
+static const char*
ip_to_str(u_int ip)
{
unsigned char bytes[4];
@@ -230,7 +230,7 @@ _conn_name(u_int32_t addr, u_int8_t pktsize, u_char *fqdn) {
egraph_vertice_rename(_egraph, ggnet_node_usrdata_get(n), (char *)fqdn);
}
- int
+static int
_cb_packet(struct gg_client *cli, struct gg_packet *pkt)
{
switch(pkt->type) {