diff options
author | 2020-04-30 02:06:46 +0200 | |
---|---|---|
committer | 2020-04-30 02:06:46 +0200 | |
commit | d4180f85d53f7381da9fcc7257cf61d0b29497a0 (patch) | |
tree | 928f5541f702f22aec334cd7262d611821ff44cf /openbsd-compat/err_h/err.h | |
parent | Merge remote-tracking branch 'portable/native' (diff) | |
download | OpenSMTPD-d4180f85d53f7381da9fcc7257cf61d0b29497a0.tar.xz OpenSMTPD-d4180f85d53f7381da9fcc7257cf61d0b29497a0.zip |
merge histories
Diffstat (limited to 'openbsd-compat/err_h/err.h')
-rw-r--r-- | openbsd-compat/err_h/err.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/openbsd-compat/err_h/err.h b/openbsd-compat/err_h/err.h new file mode 100644 index 00000000..a56b6188 --- /dev/null +++ b/openbsd-compat/err_h/err.h @@ -0,0 +1,18 @@ +#ifndef ERR_H +#define ERR_H + +#ifndef LIBCRYPTOCOMPAT_ERR_H +#define LIBCRYPTOCOMPAT_ERR_H + +__attribute__ ((noreturn)) +void err(int, const char *, ...); + +__attribute__ ((noreturn)) +void errx(int, const char *, ...); + +void warn(const char *, ...); +void warnx(const char *, ...); + +#endif + +#endif |