Mercurial > dropbear
diff dbutil.h @ 1278:0c47d97aa9d5
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 16 Mar 2016 22:53:27 +0800 |
parents | 9169e4e7cbee |
children | 3017bc7d6238 |
line wrap: on
line diff
--- a/dbutil.h Tue Mar 15 23:23:31 2016 +0800 +++ b/dbutil.h Wed Mar 16 22:53:27 2016 +0800 @@ -59,7 +59,7 @@ void dropbear_trace2(const char* format, ...) ATTRIB_PRINTF(1,2); void printhex(const char * label, const unsigned char * buf, int len); void printmpint(const char *label, mp_int *mp); -void debug_start_net(); +void debug_start_net(void); extern int debug_trace; #endif @@ -81,7 +81,7 @@ #define m_free(X) do {free(X); (X) = NULL;} while (0) void m_burn(void* data, unsigned int len); void setnonblocking(int fd); -void disallow_core(); +void disallow_core(void); int m_str_to_uint(const char* str, unsigned int *val); /* Used to force mp_ints to be initialised */ @@ -95,7 +95,7 @@ /* Returns a time in seconds that doesn't go backwards - does not correspond to a real-world clock */ -time_t monotonic_now(); +time_t monotonic_now(void); char * expand_homedir_path(const char *inpath);