From e1a759590596c6b9fc8aeb28ca85d6f40c8557b4 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 24 Feb 2005 00:57:33 +0000 Subject: [PATCH] fix "function declaration isn't a prototype" warnings from -Wstrict-prototypes mostly by using (void) instead of () for functions with empty parameter lists. --- lib/neatogen/info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neatogen/info.h b/lib/neatogen/info.h index 50c8802f7..08c8551a1 100644 --- a/lib/neatogen/info.h +++ b/lib/neatogen/info.h @@ -43,7 +43,7 @@ extern "C" { extern Info_t *nodeInfo; /* Array of node info */ - extern void infoinit(); + extern void infoinit(void); /* Insert vertex into sorted list */ extern void addVertex(Site *, double, double); #endif -- 2.40.0