From 489de1005c94bda6ea2d3f8d0b8535be191cf16e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 29 Oct 2014 19:06:17 +0100 Subject: more code reuse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 0a1b37f..0acee7f 100644 --- a/src/common.h +++ b/src/common.h @@ -42,6 +42,11 @@ +#define X(A) extern const char* A; + LIST_ARGUMENTS +#undef X + + static inline const char* first_digit(const char* str) { for (; str && *str; str++) @@ -82,3 +87,6 @@ static inline const char* get_hostaddress(const char* hostname) return rc; } + +int do_log(void); + -- cgit v1.2.3-70-g09d2