Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add a forward declaration to make including this hea...



details:   https://anonhg.NetBSD.org/src/rev/63a9249cbb9b
branches:  trunk
changeset: 433811:63a9249cbb9b
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Oct 06 13:03:55 2018 +0000

description:
Add a forward declaration to make including this header require less
other headers.

diffstat:

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

diffs (17 lines):

diff -r 23252a11b886 -r 63a9249cbb9b sys/sys/timetc.h
--- a/sys/sys/timetc.h  Sat Oct 06 10:00:32 2018 +0000
+++ b/sys/sys/timetc.h  Sat Oct 06 13:03:55 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timetc.h,v 1.6 2009/01/11 02:45:56 christos Exp $ */
+/* $NetBSD: timetc.h,v 1.7 2018/10/06 13:03:55 maya Exp $ */
 
 /*-
  * ----------------------------------------------------------------------------
@@ -40,6 +40,7 @@
  */
 
 struct timecounter;
+struct timespec;
 typedef u_int timecounter_get_t(struct timecounter *);
 typedef void timecounter_pps_t(struct timecounter *);
 



Home | Main Index | Thread Index | Old Index