summaryrefslogtreecommitdiffstats
path: root/lib/graph.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 10:12:36 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 11:21:59 +0100
commit4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (patch)
treec8e9c8056c9fec104ec152ccf254c282fa6a90c6 /lib/graph.c
parentMerge pull request #3508 from chiragshah6/evpn_dev2 (diff)
downloadfrr-4d762f2607f07b55f464bae4ec0eb7fdf7c656a9.tar.xz
frr-4d762f2607f07b55f464bae4ec0eb7fdf7c656a9.zip
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'lib/graph.c')
-rw-r--r--lib/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/graph.c b/lib/graph.c
index 4bc3eb82b..128e45c57 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);