summaryrefslogtreecommitdiff
path: root/lib/graph.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-24 06:47:22 -0500
committerGitHub <noreply@github.com>2019-01-24 06:47:22 -0500
commitc96f86bde009e85be505ab18216a4a2899021b68 (patch)
treec8e9c8056c9fec104ec152ccf254c282fa6a90c6 /lib/graph.c
parent262d4dda2aa009f200370a4c4635899ceb85ab90 (diff)
parent4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (diff)
Merge pull request #3658 from rubenk/fix-old-style-definitions
Treewide: use ANSI function definitions
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 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);