From 9e7c3aa5dfbd79b7de55146cd85f5953f7e5f34b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 27 Dec 2015 20:58:15 +0100 Subject: fix errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/slibc-human.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/slibc-human.h b/include/slibc-human.h index 34c1cf9..4d4de69 100644 --- a/include/slibc-human.h +++ b/include/slibc-human.h @@ -23,6 +23,7 @@ +#define __NEED_size_t #define __NEED_mode_t #ifdef __C99__ # define __NEED_intmax_t @@ -364,7 +365,7 @@ int machinedur(intmax_t* restrict sec, long int* nsec, const char* restrict str, char* machineint(intmax_t* restrict r, const char* restrict str) __GCC_ONLY(__attribute__((__warn_unused_result__))); # ifdef __CONST_CORRECT -# define machineint(...) (__const_correct_2p(machineint, __VA_ARGS__)) +# define machineint(...) (__const_correct2p(machineint, __VA_ARGS__)) # endif /* TODO machineuint */ @@ -373,7 +374,7 @@ char* machineint(intmax_t* restrict r, const char* restrict str) char* machineuint(uintmax_t* restrict r, const char* restrict str) __GCC_ONLY(__attribute__((__warn_unused_result__))); # ifdef __CONST_CORRECT -# define machineuint(...) (__const_correct_2p(machineuint, __VA_ARGS__)) +# define machineuint(...) (__const_correct2p(machineuint, __VA_ARGS__)) # endif #endif @@ -383,7 +384,7 @@ char* machineuint(uintmax_t* restrict r, const char* restrict str) char* machinefloat(long double* restrict r, const char* restrict str, const char* restrict space, const char* restrict point); #ifdef __CONST_CORRECT -# define machinefloat(...) (__const_correct_2(machinefloat, __VA_ARGS__)) +# define machinefloat(...) (__const_correct2(machinefloat, __VA_ARGS__)) #endif -- cgit v1.2.3-70-g09d2