Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/include Make sure "struct clockframe" is declar...



details:   https://anonhg.NetBSD.org/src/rev/0271d9c83721
branches:  trunk
changeset: 771245:0271d9c83721
user:      he <he%NetBSD.org@localhost>
date:      Wed Nov 16 12:40:53 2011 +0000

description:
Make sure "struct clockframe" is declared before declaring a
parameter as a pointer to that struct; fixes build problem for
getfstypename.c as part of libkern.

diffstat:

 sys/arch/arc/include/intr.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 661c225e4c3e -r 0271d9c83721 sys/arch/arc/include/intr.h
--- a/sys/arch/arc/include/intr.h       Wed Nov 16 06:56:49 2011 +0000
+++ b/sys/arch/arc/include/intr.h       Wed Nov 16 12:40:53 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.23 2011/02/20 07:52:42 matt Exp $   */
+/*     $NetBSD: intr.h,v 1.24 2011/11/16 12:40:53 he Exp $     */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -37,6 +37,8 @@
 #ifdef _KERNEL
 #ifndef _LOCORE
 
+struct clockframe;
+
 void arc_set_intr(uint32_t, uint32_t (*)(uint32_t, struct clockframe *), int);
 extern uint32_t cpu_int_mask;
 



Home | Main Index | Thread Index | Old Index