diff --git a/lib/roken/parse_bytes.h b/lib/roken/parse_bytes.h index c043618ba..b7eea2b0d 100644 --- a/lib/roken/parse_bytes.h +++ b/lib/roken/parse_bytes.h @@ -36,15 +36,7 @@ #ifndef __PARSE_BYTES_H__ #define __PARSE_BYTES_H__ -#ifndef ROKEN_LIB_FUNCTION -#ifdef _WIN32 -#define ROKEN_LIB_FUNCTION -#define ROKEN_LIB_CALL __cdecl -#else -#define ROKEN_LIB_FUNCTION -#define ROKEN_LIB_CALL -#endif -#endif +#include ROKEN_LIB_FUNCTION ssize_t ROKEN_LIB_CALL parse_bytes(const char *s, const char *def_unit); diff --git a/lib/roken/parse_time.h b/lib/roken/parse_time.h index 7de18c717..c0f08f956 100644 --- a/lib/roken/parse_time.h +++ b/lib/roken/parse_time.h @@ -36,15 +36,7 @@ #ifndef __PARSE_TIME_H__ #define __PARSE_TIME_H__ -#ifndef ROKEN_LIB_FUNCTION -#ifdef _WIN32 -#define ROKEN_LIB_FUNCTION -#define ROKEN_LIB_CALL __cdecl -#else -#define ROKEN_LIB_FUNCTION -#define ROKEN_LIB_CALL -#endif -#endif +#include ROKEN_LIB_FUNCTION int64_t ROKEN_LIB_CALL parse_time (const char *s, const char *def_unit);