Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Remove pointless inclusion of <sys/cdefs.h> (a pre-A...



details:   https://anonhg.NetBSD.org/src/rev/afb1723bf699
branches:  trunk
changeset: 551879:afb1723bf699
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sat Sep 13 15:28:36 2003 +0000

description:
Remove pointless inclusion of <sys/cdefs.h> (a pre-ANSI-KNF leftover).

diffstat:

 sys/sys/ucontext.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r a69cb72b4edd -r afb1723bf699 sys/sys/ucontext.h
--- a/sys/sys/ucontext.h        Sat Sep 13 15:26:38 2003 +0000
+++ b/sys/sys/ucontext.h        Sat Sep 13 15:28:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucontext.h,v 1.2 2003/01/18 09:53:17 thorpej Exp $     */
+/*     $NetBSD: ucontext.h,v 1.3 2003/09/13 15:28:36 kleink Exp $      */
 
 /*-
  * Copyright (c) 1999, 2003 The NetBSD Foundation, Inc.
@@ -99,9 +99,8 @@
 } while (/*CONSTCOND*/0)
 
 #ifdef _KERNEL
-#include <sys/cdefs.h>
+struct lwp;
 
-struct lwp;
 void   getucontext(struct lwp *, ucontext_t *);
 int    setucontext(struct lwp *, const ucontext_t *);
 void   cpu_getmcontext(struct lwp *, mcontext_t *, unsigned int *);



Home | Main Index | Thread Index | Old Index