From 39c17712573b97fd8e85a07101cec7a59f67551b Mon Sep 17 00:00:00 2001 From: mickey <> Date: Tue, 17 Sep 2002 12:57:50 +0000 Subject: [PATCH] move __syscall prototype into unistd.h (like everybody else) and avoid private protos for it everywhere; millert@ ok --- src/include/unistd.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/include/unistd.h b/src/include/unistd.h index 49112b95..92536c5b 100644 --- a/src/include/unistd.h +++ b/src/include/unistd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unistd.h,v 1.40 2002/08/30 08:24:55 espie Exp $ */ +/* $OpenBSD: unistd.h,v 1.41 2002/09/17 12:57:50 mickey Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- @@ -206,6 +206,9 @@ int swapctl(int cmd, const void *arg, int misc); int symlink(const char *, const char *); void sync(void); int syscall(int, ...); +#if !defined(_XOPEN_SOURCE) +quad_t __syscall(quad_t, ...); +#endif int truncate(const char *, off_t); int ttyslot(void); unsigned int ualarm(unsigned int, unsigned int);