Source-Changes-HG archive

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

[src/trunk]: src/sys/dev provide forward declaration for struct timeval;



details:   https://anonhg.NetBSD.org/src/rev/af873c0c5dfe
branches:  trunk
changeset: 333878:af873c0c5dfe
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 20 15:49:28 2014 +0000

description:
provide forward declaration for struct timeval;

diffstat:

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

diffs (17 lines):

diff -r 4d5c62266673 -r af873c0c5dfe sys/dev/clock_subr.h
--- a/sys/dev/clock_subr.h      Thu Nov 20 15:48:05 2014 +0000
+++ b/sys/dev/clock_subr.h      Thu Nov 20 15:49:28 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock_subr.h,v 1.23 2014/11/17 02:15:49 christos Exp $ */
+/*     $NetBSD: clock_subr.h,v 1.24 2014/11/20 15:49:28 christos Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -67,6 +67,7 @@
  *             function which takes one boolean argument:
  *                     1 to enable writes; 0 to disable writes.
  */
+struct timeval;
 struct todr_chip_handle {
        void    *cookie;        /* Device specific data */
        void    *bus_cookie;    /* Bus specific data */



Home | Main Index | Thread Index | Old Index