From d07211831e54be10cf0d0415989c750fd16533bc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 16 Nov 2015 01:04:24 +0100 Subject: m slibc-human.h 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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/slibc-human.h b/include/slibc-human.h index dbb0a98..b4879ce 100644 --- a/include/slibc-human.h +++ b/include/slibc-human.h @@ -224,16 +224,18 @@ int machinemode(mode_t* restrict, mode_t* restrict, const char* restrict) __GCC_ONLY(__attributes__((__nonnull__(3)))); -char* humansize(char* restrict buffer, size_t size, enum humansize_mode mode, int detail); +char* humansize(char* restrict buffer, size_t size, enum humansize_mode mode, int detail, + const char* restrict point); -int machinesize(size_t* restrict size, const char* restrict string, enum machinesize_mode mode); +int machinesize(size_t* restrict size, const char* restrict str, enum machinesize_mode mode, + const char* restrict space, const char* restrict point); #ifdef __C99__ -int humandur(intmax_t sec, long int nsec, const char* restrict comma, const char* restrict format); +int humandur(intmax_t sec, long int nsec, const char* restrict point, const char* restrict format); int machinedur(intmax_t* restrict sec, long int* nsec, const char* restrict str, - const char* restrict space, const char* restrict comma); + const char* restrict space, const char* restrict point); char* machineint(intmax_t* restrict r, const char* restrict str); -- cgit v1.2.3-70-g09d2