summaryrefslogtreecommitdiff
path: root/sys/arch/atari/include
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2005-06-04 14:42:36 +0000
committerhe <he@NetBSD.org>2005-06-04 14:42:36 +0000
commit5cc5caddf2f0d92f0cd12da3f28f811ad6b56fb9 (patch)
treed6d0f4647d30cf77ed16aace37b767add3603c28 /sys/arch/atari/include
parent5cfd2bfc98c8df2d4000ed6fc010915cc93aecda (diff)
Adapt to compiling with -Wshadow and -Wcast-qual, by adding const
qualification in places and renaming a few local variables. Also adds a couple uses of __UNVOLATILE() to allow passing volatile variables to functions wanting e.g. caddr_t.
Diffstat (limited to 'sys/arch/atari/include')
-rw-r--r--sys/arch/atari/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/atari/include/cpu.h b/sys/arch/atari/include/cpu.h
index d713ea1feb3..bdc05d28152 100644
--- a/sys/arch/atari/include/cpu.h
+++ b/sys/arch/atari/include/cpu.h
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.45 2004/09/26 21:44:26 yamt Exp $ */
+/* $NetBSD: cpu.h,v 1.46 2005/06/04 14:42:36 he Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -229,7 +229,7 @@ long clkread __P((void));
/*
* Prototypes from fpu.c
*/
-char *fpu_describe __P((int));
+const char *fpu_describe __P((int));
int fpu_probe __P((void));
/*