From: north Date: Fri, 24 Oct 2008 20:12:55 +0000 (+0000) Subject: Fixed C errors. X-Git-Tag: LAST_LIBGRAPH~32^2~2953 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9179127533e90b36532e93d5373c2174bce24f90;p=graphviz Fixed C errors. --- diff --git a/cmd/smyrna/topview.c b/cmd/smyrna/topview.c index 2ffbe7311..86229cc9f 100755 --- a/cmd/smyrna/topview.c +++ b/cmd/smyrna/topview.c @@ -35,14 +35,15 @@ static float dz = 0.0; /* Forward declarations */ static glCompSet *glcreate_gl_topview_menu(); static void set_boundaries(topview * t); -static void set_topview_options(); +static void set_topview_options(void); static int draw_topview_label(topview_node * v, float zdepth); static int node_visible(Agnode_t * n); static int select_topview_node(topview_node * n); static int select_topview_edge(topview_edge * e); static int update_topview_node_from_cgraph(topview_node * Node); static int get_color_from_edge(topview_edge * e); -static int draw_node_hint_boxes(); +static int draw_node_hint_boxes(void); +static int pick_node(topview_node * n); void cleartopview(topview * t) { @@ -731,7 +732,7 @@ static int select_topview_edge(topview_edge * e) view->Selection.single_selected_edge=e; } - return; + return 0; } if (!view->Selection.Active) return 0;