From 95b2b47b262a7d50c22e195823d3d2cd290b0fe4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 16 Jul 2011 11:58:09 +0200 Subject: get rid of non-ANSI function declarations missing (void) Detected by Smatch --- include/osmocom/core/backtrace.h | 2 +- include/osmocom/vty/command.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/osmocom') 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 -- cgit v1.2.3