summaryrefslogtreecommitdiff
path: root/kernel/include/lib/kio.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/lib/kio.h')
-rw-r--r--kernel/include/lib/kio.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/kernel/include/lib/kio.h b/kernel/include/lib/kio.h
index ef22f95..66efc7b 100644
--- a/kernel/include/lib/kio.h
+++ b/kernel/include/lib/kio.h
@@ -44,7 +44,7 @@ __attribute__((format(printf, 1, 2))) int kprintf(const char *format, ...);
* @returns number of bytes written
*/
__attribute__((format(printf, 2, 3))) int ksprintf(char *restrict s,
- const char *format, ...);
+ const char *format, ...);
/**
* prints out a formatted string to a buffer with a given max length
@@ -56,9 +56,8 @@ __attribute__((format(printf, 2, 3))) int ksprintf(char *restrict s,
* @returns number of bytes written
* @returns number of bytes that would of been written (past maxlen)
*/
-__attribute__((format(printf, 3, 4))) int ksnprintf(char *restrict s,
- size_t maxlen,
- const char *format, ...);
+__attribute__((format(printf, 3, 4))) int
+ksnprintf(char *restrict s, size_t maxlen, const char *format, ...);
/**
* prints out a formatted string
@@ -89,6 +88,6 @@ int kvsprintf(char *restrict s, const char *format, va_list args);
* @returns number of bytes that would of been written (past maxlen)
*/
int kvsnprintf(char *restrict s, size_t maxlen, const char *format,
- va_list args);
+ va_list args);
#endif /* kio.h */