Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common This file is not used on alpha, and ...



details:   https://anonhg.NetBSD.org/src/rev/1242bad1e02c
branches:  trunk
changeset: 509933:1242bad1e02c
user:      manu <manu%NetBSD.org@localhost>
date:      Tue May 15 20:35:02 2001 +0000

description:
This file is not used on alpha, and it causes some warning that break the
build. Added an ifdef to ignore the file content for alpha (not tested)

diffstat:

 sys/compat/linux/common/linux_time.c |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r f733eb5c5be5 -r 1242bad1e02c sys/compat/linux/common/linux_time.c
--- a/sys/compat/linux/common/linux_time.c      Tue May 15 18:59:45 2001 +0000
+++ b/sys/compat/linux/common/linux_time.c      Tue May 15 20:35:02 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_time.c,v 1.1 2001/05/13 20:54:45 manu Exp $ */
+/* $NetBSD: linux_time.c,v 1.2 2001/05/15 20:35:02 manu Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -51,6 +51,11 @@
 
 #include <compat/linux/linux_syscallargs.h>
 
+/*
+ * This is not implemented for alpha yet
+ */
+#if defined (__i386__) || defined (__m68k__) || defined (__powerpc__)
+
 /* 
  * Linux keeps track of a system timezone in the kernel. It is readen
  * by gettimeofday and set by settimeofday. This emulates this behavior
@@ -113,3 +118,5 @@
 
        return (0);
 }
+
+#endif /* __i386__ || __m68k__ || __powerpc__ */



Home | Main Index | Thread Index | Old Index