mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 22:10:40 +08:00
Update to FreeBSD head 2017-04-04
Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
This commit is contained in:
@@ -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);
|
||||
@@ -59,8 +61,9 @@ void warnx(const char *, ...) __printflike(1, 2);
|
||||
void vwarnx(const char *, __va_list) __printflike(1, 0);
|
||||
#ifndef __rtems__
|
||||
void err_set_file(void *);
|
||||
void err_set_exit(void (*)(int));
|
||||
void err_set_exit(void (* _Nullable)(int));
|
||||
#endif /* __rtems__ */
|
||||
__END_DECLS
|
||||
__NULLABILITY_PRAGMA_POP
|
||||
|
||||
#endif /* !_ERR_H_ */
|
||||
|
Reference in New Issue
Block a user