aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty/command.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-16 11:58:09 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-16 12:03:46 +0200
commit95b2b47b262a7d50c22e195823d3d2cd290b0fe4 (patch)
tree96a51f2d6562d0f525511b0c3c0d40e562e9f91f /src/vty/command.c
parent87dbca148fb9c398e8d2de50ddbfc72e59ca6b26 (diff)
get rid of non-ANSI function declarations missing (void)
Detected by Smatch
Diffstat (limited to 'src/vty/command.c')
-rw-r--r--src/vty/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/command.c b/src/vty/command.c
index 5dc1dd45..1c8df61a 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -152,7 +152,7 @@ static int is_config(struct vty *vty)
}
/* Sort each node's command element according to command string. */
-void sort_node()
+void sort_node(void)
{
unsigned int i, j;
struct cmd_node *cnode;