Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Uses __BEGIN_DECLS and needs sys/cdefs.h.



details:   https://anonhg.NetBSD.org/src/rev/bafd5c8212ff
branches:  trunk
changeset: 343114:bafd5c8212ff
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jan 22 23:46:07 2016 +0000

description:
Uses __BEGIN_DECLS and needs sys/cdefs.h.

diffstat:

 sys/sys/vadvise.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2d126148c6d3 -r bafd5c8212ff sys/sys/vadvise.h
--- a/sys/sys/vadvise.h Fri Jan 22 23:44:33 2016 +0000
+++ b/sys/sys/vadvise.h Fri Jan 22 23:46:07 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vadvise.h,v 1.10 2005/12/11 12:25:21 christos Exp $    */
+/*     $NetBSD: vadvise.h,v 1.11 2016/01/22 23:46:07 dholland Exp $    */
 
 /*-
  * Copyright (c) 1982, 1986, 1993
@@ -34,6 +34,8 @@
 #ifndef _SYS_VADVISE_H_
 #define _SYS_VADVISE_H_
 
+#include <sys/cdefs.h>
+
 /*
  * Parameters to vadvise() to tell system of particular paging
  * behaviour:



Home | Main Index | Thread Index | Old Index