diff --git a/src/kaleid/include/kalcrt.h b/src/kaleid/include/kalcrt.h index 33791a8..bc46aa1 100644 --- a/src/kaleid/include/kalcrt.h +++ b/src/kaleid/include/kalcrt.h @@ -79,49 +79,49 @@ typedef struct { long quot, rem; } ldiv_t; #define memchr memchrb #endif -void *memsetb(void *, int, size_t); -void *memsetw(void *, int, size_t); -void *memsetd(void *, int, size_t); -void *memsetq(void *, long, size_t); +void *memsetb(void *, int, size_t); +void *memsetw(void *, int, size_t); +void *memsetd(void *, int, size_t); +void *memsetq(void *, long, size_t); -void *memchrb(const void *, int, size_t); -void *memchrw(const void *, int, size_t); -void *memchrd(const void *, int, size_t); -void *memchrq(const void *, long, size_t); +void *memchrb(const void *, int, size_t); +void *memchrw(const void *, int, size_t); +void *memchrd(const void *, int, size_t); +void *memchrq(const void *, long, size_t); -void *memcpy(void *, const void *, size_t); -void *memmove(void *, const void *, size_t); +void *memcpy(void *, const void *, size_t); +void *memmove(void *, const void *, size_t); -void *memzero(void *, size_t); -int memcmp(const void *, const void *, size_t); +void *memzero(void *, size_t); +int memcmp(const void *, const void *, size_t); //------------------------------------------// // String manipulation utilities // //------------------------------------------// -size_t strlen(const char *); -char *strcpy(char *, const char *); -char *strncpy(char *, const char *, size_t); -char *strrev(char *, const char *); -char *reverse(char *); +size_t strlen(const char *); +char *strcpy(char *, const char *); +char *strncpy(char *, const char *, size_t); +char *strrev(char *, const char *); +char *reverse(char *); -int sprintf(char *, const char *, ...); -int snprintf(char *, size_t, const char *, ...); -int vsprintf(char *, const char *, va_list); -int vsnprintf(char *, size_t, const char *, va_list); +int sprintf(char *, const char *, ...); +int snprintf(char *, size_t, const char *, ...); +int vsprintf(char *, const char *, va_list); +int vsnprintf(char *, size_t, const char *, va_list); //------------------------------------------// // Type conversion utilities // //------------------------------------------// -int *atoi(const char *); -long *atol(const char *); +int *atoi(const char *); +long *atol(const char *); -char *itoa(int, char *, int); -char *ltoa(long, char *, int); +char *itoa(int, char *, int); +char *ltoa(long, char *, int); -char *utoa(unsigned int, char *, int); -char *ultoa(unsigned long, char *, int); +char *utoa(unsigned int, char *, int); +char *ultoa(unsigned long, char *, int); long strtol(const char *, char **, int); unsigned long strtoul(const char *, char **, int);