aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd-compat/err_h/err.h
blob: 92aa69f60d32c5c05cd22c21ac5f2c725de5e8dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 *, ...);

__attribute__ ((noreturn))
void errc(int, int, const char *, ...);

void warn(const char *, ...);
void warnx(const char *, ...);

#endif

#endif