summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte2011-07-16 11:58:09 +0200
committerHarald Welte2011-07-16 12:03:46 +0200
commit95b2b47b262a7d50c22e195823d3d2cd290b0fe4 (patch)
tree96a51f2d6562d0f525511b0c3c0d40e562e9f91f /include
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 'include')
-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 5a8a816..1ed089a 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 caf0414..08819d1 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