diff dbutil.h @ 1276:9169e4e7cbee

fix empty C prototypes
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 16:30:31 +0100
parents 6ecc133fb2ee
children 3017bc7d6238
line wrap: on
line diff
--- a/dbutil.h	Fri Jan 01 09:46:09 2016 +0100
+++ b/dbutil.h	Fri Jan 01 16:30:31 2016 +0100
@@ -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);