From 80c44e6a1675af729aeb2ab36b8cda4b9e71e858 Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 23 Feb 2009 16:16:28 +0000 Subject: [PATCH] =?utf8?q?Janitor:=20fix=20more:=20"warning:=20function=20?= =?utf8?q?declaration=20isn=E2=80=99t=20a=20prototype"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- cmd/smyrna/glexpose.c | 4 ++-- cmd/smyrna/topview.c | 12 ++++++------ cmd/smyrna/topview.h | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cmd/smyrna/glexpose.c b/cmd/smyrna/glexpose.c index d65328c0b..43439e750 100644 --- a/cmd/smyrna/glexpose.c +++ b/cmd/smyrna/glexpose.c @@ -128,7 +128,7 @@ int glexpose_main(ViewInfo * view) params:ViewInfo , global view variable defined in viewport.c return value:none */ -void drawtestpoly() +void drawtestpoly(void) { glEnable(GL_TEXTURE_2D); glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); @@ -191,7 +191,7 @@ int glexpose_drawgraph(ViewInfo * view) return 0; } -void drawRotatingTools() +void drawRotatingTools(void) { float x,y; float x1,y1,z1; diff --git a/cmd/smyrna/topview.c b/cmd/smyrna/topview.c index 66d3c5288..9d749907f 100755 --- a/cmd/smyrna/topview.c +++ b/cmd/smyrna/topview.c @@ -40,7 +40,7 @@ static float dy = 0.0; static float dz = 0.0; /* Forward declarations */ -static glCompSet *glcreate_gl_topview_menu(); +static glCompSet *glcreate_gl_topview_menu(void); static void set_boundaries(topview * t); static void set_topview_options(void); static int draw_topview_label(topview_node * v, float zdepth); @@ -624,7 +624,7 @@ static int pick_node(topview_node * n) return 0; } -static int draw_node_hint_boxes() +static int draw_node_hint_boxes(void) { int ind; char buf[512]; @@ -901,7 +901,7 @@ static int draw_topview_label(topview_node * v, float zdepth) -static void set_topview_options() +static void set_topview_options(void) { if ((view->mouse.mouse_mode == 10) && (view->mouse.mouse_down == 1)) //selected, if there is move move it, experimental @@ -1023,7 +1023,7 @@ static int node_visible(Agnode_t * n) return OD_Visible(n); } -int move_TVnodes() +int move_TVnodes(void) { topview_node *v; int ind = 0; @@ -1197,7 +1197,7 @@ void originate_distorded_coordinates(topview * t) } #if 0 -void test_callback() +void test_callback(void) { } #endif @@ -1398,7 +1398,7 @@ static char *smyrna_icon_zoomminus; static char *smyrna_icon_fisheye; static char *smyrna_icon_rotate; -static glCompSet *glcreate_gl_topview_menu() +static glCompSet *glcreate_gl_topview_menu(void) { glCompSet *s = glCompSetNew(); diff --git a/cmd/smyrna/topview.h b/cmd/smyrna/topview.h index b6aab29e1..a8f0ca8fa 100755 --- a/cmd/smyrna/topview.h +++ b/cmd/smyrna/topview.h @@ -28,7 +28,7 @@ void cleartopview(topview * t); void preparetopview(Agraph_t * g, topview * t); void drawTopViewGraph(Agraph_t * g); int set_update_required(topview * t); -int move_TVnodes(); +int move_TVnodes(void); void local_zoom(topview * t); void originate_distorded_coordinates(topview * t); float calcfontsize(float totaledgelength,int totallabelsize,int edgecount,int totalnodecount); -- 2.40.0