summaryrefslogtreecommitdiffstats
path: root/include/osmocom
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 /include/osmocom
parent87dbca148fb9c398e8d2de50ddbfc72e59ca6b26 (diff)
get rid of non-ANSI function declarations missing (void)
Detected by Smatch
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/backtrace.h2
-rw-r--r--include/osmocom/vty/command.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/core/backtrace.h b/include/osmocom/core/backtrace.h
index 5a8a8161..1ed089ad 100644
--- a/include/osmocom/core/backtrace.h
+++ b/include/osmocom/core/backtrace.h
@@ -1,6 +1,6 @@
#ifndef _OSMO_BACKTRACE_H_
#define _OSMO_BACKTRACE_H_
-void osmo_generate_backtrace();
+void osmo_generate_backtrace(void);
#endif
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index caf04142..08819d1a 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -316,7 +316,7 @@ void install_node(struct cmd_node *, int (*)(struct vty *));
void install_default(enum node_type);
void install_element(enum node_type, struct cmd_element *);
void install_element_ve(struct cmd_element *cmd);
-void sort_node();
+void sort_node(void);
/* Concatenates argv[shift] through argv[argc-1] into a single NUL-terminated
string with a space between each element (allocated using