diff options
Diffstat (limited to 'src/misc_functions.h')
-rw-r--r-- | src/misc_functions.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/misc_functions.h b/src/misc_functions.h index c9a24d3..fbe164d 100644 --- a/src/misc_functions.h +++ b/src/misc_functions.h @@ -1,12 +1,11 @@ #ifndef MISC_FUNCTIONS__H #define MISC_FUNCTIONS__H #include <string> -#include <cstdlib> -long strtolong(const std::string& str); -int64_t strtolonglong(const std::string& str); + +int32_t strtoint32(const std::string& str); +int64_t strtoint64(const std::string& str); std::string inttostr(int i); std::string hex_decode(const std::string &in); std::string bintohex(const std::string &in); -int timeval_subtract (timeval* result, timeval* x, timeval* y); #endif |