summaryrefslogtreecommitdiffstats
path: root/src/vty/command.c
diff options
context:
space:
mode:
authorHarald Welte2011-07-16 11:58:09 +0200
committerHarald Welte2011-07-16 12:03:46 +0200
commit95b2b47b262a7d50c22e195823d3d2cd290b0fe4 (patch)
tree96a51f2d6562d0f525511b0c3c0d40e562e9f91f /src/vty/command.c
parentdon't use signed bit-fields (diff)
downloadlibosmocore-95b2b47b262a7d50c22e195823d3d2cd290b0fe4.tar.gz
libosmocore-95b2b47b262a7d50c22e195823d3d2cd290b0fe4.tar.xz
libosmocore-95b2b47b262a7d50c22e195823d3d2cd290b0fe4.zip
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 5dc1dd4..1c8df61 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;