summaryrefslogtreecommitdiffstats
path: root/include/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/err.h')
-rw-r--r--include/err.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/err.h b/include/err.h
index b6ab214..b0e3121 100644
--- a/include/err.h
+++ b/include/err.h
@@ -43,6 +43,8 @@
#include <sys/cdefs.h>
#include <sys/_types.h>
+__NULLABILITY_PRAGMA_PUSH
+
__BEGIN_DECLS
void err(int, const char *, ...) __dead2 __printf0like(2, 3);
void verr(int, const char *, __va_list) __dead2 __printf0like(2, 0);
@@ -58,7 +60,8 @@ void vwarnc(int, const char *, __va_list) __printf0like(2, 0);
void warnx(const char *, ...) __printflike(1, 2);
void vwarnx(const char *, __va_list) __printflike(1, 0);
void err_set_file(void *);
-void err_set_exit(void (*)(int));
+void err_set_exit(void (* _Nullable)(int));
__END_DECLS
+__NULLABILITY_PRAGMA_POP
#endif /* !_ERR_H_ */
OpenPOWER on IntegriCloud