From d63acabb2858e40e2d8affdf3eae2497aa955853 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 7 Oct 2005 19:33:19 +0000 Subject: [PATCH] vadvise was not declared anywhere. --- sys/sys/vadvise.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/sys/vadvise.h b/sys/sys/vadvise.h index cef9ac0376cd..4ab0a1b6874d 100644 --- a/sys/sys/vadvise.h +++ b/sys/sys/vadvise.h @@ -1,4 +1,4 @@ -/* $NetBSD: vadvise.h,v 1.8 2003/08/07 16:34:22 agc Exp $ */ +/* $NetBSD: vadvise.h,v 1.9 2005/10/07 19:33:19 christos Exp $ */ /*- * Copyright (c) 1982, 1986, 1993 @@ -49,4 +49,10 @@ #define VA_SEQL 2 #define VA_FLUSH 3 +#ifndef _KERNEL +__BEGIN_DECLS +int vadvise(int); +__END_DECLS +#endif + #endif /* !_SYS_VADVISE_H_ */