From: ellson <devnull@localhost>
Date: Thu, 24 Feb 2005 00:57:33 +0000 (+0000)
Subject: fix "function declaration isn't a prototype" warnings from -Wstrict-prototypes
X-Git-Tag: LAST_LIBGRAPH~32^2~7889
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1a759590596c6b9fc8aeb28ca85d6f40c8557b4;p=graphviz

fix "function declaration isn't a prototype" warnings from -Wstrict-prototypes
    mostly by using (void) instead of () for functions with empty parameter lists.
---

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