Module Name: src
Committed By: drochner
Date: Fri Mar 27 11:06:26 UTC 2009
Modified Files:
src/sys/sys: time.h
Log Message:
namespace sanity: TIMER_RELTIME is _NETBSD_SOURCE only
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/sys/time.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/time.h
diff -u src/sys/sys/time.h:1.63 src/sys/sys/time.h:1.64
--- src/sys/sys/time.h:1.63 Sun Jan 11 02:45:56 2009
+++ src/sys/sys/time.h Fri Mar 27 11:06:26 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: time.h,v 1.63 2009/01/11 02:45:56 christos Exp $ */
+/* $NetBSD: time.h,v 1.64 2009/03/27 11:06:26 drochner Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -251,7 +251,9 @@
#define CLOCK_PROF 2
#define CLOCK_MONOTONIC 3
+#if defined(_NETBSD_SOURCE)
#define TIMER_RELTIME 0x0 /* relative timer */
+#endif
#define TIMER_ABSTIME 0x1 /* absolute timer */
#ifdef _KERNEL