summaryrefslogtreecommitdiff
path: root/dbutil.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-22 14:13:44 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-22 14:13:44 +0000
commit1fe94f62f3f1a1f04517d8b8b49a73e2afa23157 (patch)
tree73d6387108d3672d3a9c2267ed5e5792e60bd7aa /dbutil.h
parenta94a0acad125c2ec85c09769a20fd0bce945843a (diff)
downloaddropbear-1fe94f62f3f1a1f04517d8b8b49a73e2afa23157.tar.gz
Replace calls to strtoul() with a helper m_str_to_uint()
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbutil.h b/dbutil.h
index a70ed46..706f35e 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -67,6 +67,7 @@ void __m_free(void* ptr);
void m_burn(void* data, unsigned int len);
void setnonblocking(int fd);
void disallow_core();
+int m_str_to_uint(const char* str, unsigned int *val);
/* Used to force mp_ints to be initialised */
#define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL}