diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-22 14:13:44 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-22 14:13:44 +0000 |
commit | 643626d54652e2c82451f4d953a9264111d16c63 (patch) | |
tree | 73d6387108d3672d3a9c2267ed5e5792e60bd7aa /dbutil.h | |
parent | e1a8bf02404f82779ddb55874370ae89ba032dce (diff) |
Replace calls to strtoul() with a helper m_str_to_uint()
--HG--
extra : convert_revision : 1f8643c5ba7fe789c120b503c396281ac45f9730
Diffstat (limited to 'dbutil.h')
-rw-r--r-- | dbutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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} |