Module Name:    src
Committed By:   jschauma
Date:           Thu Oct 26 14:04:46 UTC 2023

Modified Files:
        src/sys/sys: clock.h

Log Message:
change include to sys/stdint.h, as suggested by simonb@

This avoids the need for #ifdefs, and stdint.h turns out to be a symlink
to sys/stdint.h to begin with.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/sys/clock.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/clock.h
diff -u src/sys/sys/clock.h:1.5 src/sys/sys/clock.h:1.6
--- src/sys/sys/clock.h:1.5	Thu Oct 26 00:59:16 2023
+++ src/sys/sys/clock.h	Thu Oct 26 14:04:45 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: clock.h,v 1.5 2023/10/26 00:59:16 jschauma Exp $	*/
+/*	$NetBSD: clock.h,v 1.6 2023/10/26 14:04:45 jschauma Exp $	*/
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -32,9 +32,7 @@
 #ifndef _SYS_CLOCK_H_
 #define _SYS_CLOCK_H_
 
-#if !defined(_KERNEL) && !defined(_STANDALONE)
-#include <stdint.h>
-#endif
+#include <sys/stdint.h>
 
 /* Some handy constants. */
 #define SECS_PER_MINUTE		60

Reply via email to