aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/print.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc/print.h')
-rw-r--r--libc/inc/print.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/inc/print.h b/libc/inc/print.h
index 110ba4c..58b5dc6 100644
--- a/libc/inc/print.h
+++ b/libc/inc/print.h
@@ -4,13 +4,14 @@
#define PRINT_H
#include "arg.h"
+#include <def.h>
int printf(const char *format, ...);
int vprintf(const char *format, va_list ap);
int sprintf(char *str, const char *format, ...);
int vsprintf(char *str, const char *format, va_list ap);
int print(const char *str);
-void panic(const char *format, ...);
+NORETURN void panic(const char *format, ...);
#ifdef userspace
int vfprintf(const char *path, const char *format, va_list ap);