summaryrefslogtreecommitdiff
path: root/src/user/lib/include/err.h
diff options
context:
space:
mode:
authordzwdz2022-12-27 22:42:06 +0100
committerdzwdz2022-12-27 22:42:06 +0100
commit8ac68ecab5734d5c5f3638397e5a9e6084fe7737 (patch)
tree209fcf07d7d4c5f3555a3f78800ba86bd91482c7 /src/user/lib/include/err.h
parent35a82cb0dae43eb538de7afa1da77c4e249ba4e4 (diff)
sh: minor usability / aesthetic improvements
Diffstat (limited to 'src/user/lib/include/err.h')
-rw-r--r--src/user/lib/include/err.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user/lib/include/err.h b/src/user/lib/include/err.h
index 9ce4253..6b63c6c 100644
--- a/src/user/lib/include/err.h
+++ b/src/user/lib/include/err.h
@@ -3,6 +3,8 @@
_Noreturn void err(int ret, const char *fmt, ...);
_Noreturn void errx(int ret, const char *fmt, ...);
+void warn(const char *fmt, ...);
+void warnx(const char *fmt, ...);
void vwarn(const char *fmt, va_list args);
void vwarnx(const char *fmt, va_list args);