summaryrefslogtreecommitdiffhomepage
path: root/dbutil.h
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2016-01-01 16:30:31 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:20 +0800
commit3e20c442de30c583b1728500c782641f88dedbfa (patch)
treecd4fcdf5ab851bde43daea855e58d49db5598dde /dbutil.h
parentaf87369cb32d4e967c389cce35f508817682f077 (diff)
fix empty C prototypes
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbutil.h b/dbutil.h
index 098563d..bc7dfa2 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -59,7 +59,7 @@ void dropbear_trace(const char* format, ...) ATTRIB_PRINTF(1,2);
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 @@ void * m_realloc(void* ptr, size_t size);
#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 @@ int constant_time_memcmp(const void* a, const void *b, size_t n);
/* 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);