summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-08-06 10:49:58 +0100
committerColin Watson <cjwatson@debian.org>2016-08-06 10:49:58 +0100
commita8ed8d256b2e2c05b0c15565a7938028c5192277 (patch)
tree87abbdc914a38b43e4e5bb9581ad1f46eabbf88e /openbsd-compat/bsd-misc.h
parentf0329aac23c61e1a5197d6d57349a63f459bccb0 (diff)
parent99522ba7ec6963a05c04a156bf20e3ba3605987c (diff)
Import openssh_7.3p1.orig.tar.gz
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r--openbsd-compat/bsd-misc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index 0d81d1735..27abb2e92 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -126,4 +126,15 @@ pid_t getpgid(pid_t);
126int pledge(const char *promises, const char *paths[]); 126int pledge(const char *promises, const char *paths[]);
127#endif 127#endif
128 128
129/* bsd-err.h */
130#ifndef HAVE_ERR
131void err(int, const char *, ...) __attribute__((format(printf, 2, 3)));
132#endif
133#ifndef HAVE_ERRX
134void errx(int, const char *, ...) __attribute__((format(printf, 2, 3)));
135#endif
136#ifndef HAVE_WARN
137void warn(const char *, ...) __attribute__((format(printf, 1, 2)));
138#endif
139
129#endif /* _BSD_MISC_H */ 140#endif /* _BSD_MISC_H */