Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include __cpu_simple_lock() isn't a pure func...



details:   https://anonhg.NetBSD.org/src/rev/4c8743c9df84
branches:  trunk
changeset: 565755:4c8743c9df84
user:      pk <pk%NetBSD.org@localhost>
date:      Mon Apr 19 12:41:53 2004 +0000

description:
__cpu_simple_lock() isn't a pure function.

diffstat:

 sys/arch/sparc/include/lock.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r a742d3680a86 -r 4c8743c9df84 sys/arch/sparc/include/lock.h
--- a/sys/arch/sparc/include/lock.h     Mon Apr 19 11:27:03 2004 +0000
+++ b/sys/arch/sparc/include/lock.h     Mon Apr 19 12:41:53 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.15 2004/04/18 19:20:09 pk Exp $ */
+/*     $NetBSD: lock.h,v 1.16 2004/04/19 12:41:53 pk Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -75,8 +75,7 @@
 static __inline void __cpu_simple_lock __P((__cpu_simple_lock_t *))
        __attribute__((__unused__));
 #else
-extern void __cpu_simple_lock __P((__cpu_simple_lock_t *))
-       __attribute__((__pure__));
+extern void __cpu_simple_lock __P((__cpu_simple_lock_t *));
 #endif
 
 static __inline void



Home | Main Index | Thread Index | Old Index