From b041188f43f2322970fd36e13ade6394a2d922fa Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 15 Jul 2004 20:04:38 +0000 Subject: add minimal __syscall() proto for lint --- lib/libc/sys/mquery.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/libc') 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 Public Domain */ @@ -7,6 +7,10 @@ #include #include +#ifdef lint +quad_t __syscall(quad_t, ...); +#endif + /* * This function provides 64-bit offset padding. */ -- cgit v1.2.3