From 4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Thu, 24 Jan 2019 10:12:36 +0100 Subject: Treewide: use ANSI function definitions Signed-off-by: Ruben Kerkhof --- lib/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/graph.c') diff --git a/lib/graph.c b/lib/graph.c index 4bc3eb82b8..128e45c570 100644 --- a/lib/graph.c +++ b/lib/graph.c @@ -27,7 +27,7 @@ DEFINE_MTYPE_STATIC(LIB, GRAPH, "Graph") DEFINE_MTYPE_STATIC(LIB, GRAPH_NODE, "Graph Node") -struct graph *graph_new() +struct graph *graph_new(void) { struct graph *graph = XCALLOC(MTYPE_GRAPH, sizeof(struct graph)); graph->nodes = vector_init(VECTOR_MIN_SIZE); -- cgit v1.2.3