]> granicus.if.org Git - graphviz/commitdiff
a void function cannot return a value, according to Sun's CC
authorellson <devnull@localhost>
Mon, 11 May 2009 17:37:40 +0000 (17:37 +0000)
committerellson <devnull@localhost>
Mon, 11 May 2009 17:37:40 +0000 (17:37 +0000)
- not even a void, apparently!

lib/common/utils.c

index 375301fe22f330b1fffddfa76745bc4e93621543..b3f32dd6642b23273901a43b56a460eefb79a7ee 100644 (file)
@@ -605,8 +605,9 @@ void common_init_node_opt(node_t * n, int shape_init_flag)
     if (shape_init_flag) ND_shape(n)->fns->initfn(n);
 }
 
-void common_init_node(node_t * n)
-    { return common_init_node_opt(n,TRUE); }
+void common_init_node(node_t * n) {
+    common_init_node_opt(n,TRUE);
+}
 
 struct fontinfo {
     double fontsize;