diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-15 20:04:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-15 20:04:38 +0000 |
commit | b041188f43f2322970fd36e13ade6394a2d922fa (patch) | |
tree | 299624cd5f87ec02500e10cc8dfe3e4fb037e347 /lib/libc/sys | |
parent | 8332e34447ddb65a96bfe413651443e0423f60b2 (diff) |
add minimal __syscall() proto for lint
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/mquery.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/mquery.c b/lib/libc/sys/mquery.c index f5277d49fe1..a3963ffc905 100644 --- a/lib/libc/sys/mquery.c +++ b/lib/libc/sys/mquery.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mquery.c,v 1.4 2003/04/28 21:32:08 drahn Exp $ */ +/* $OpenBSD: mquery.c,v 1.5 2004/07/15 20:04:37 deraadt Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org> Public Domain */ @@ -7,6 +7,10 @@ #include <sys/mman.h> #include <sys/syscall.h> +#ifdef lint +quad_t __syscall(quad_t, ...); +#endif + /* * This function provides 64-bit offset padding. */ |