From 52abce8499b6390ff228590a49381b64ccfe08c0 Mon Sep 17 00:00:00 2001 From: chs Date: Sun, 18 Jul 2004 22:34:21 +0000 Subject: [PATCH] declare RAS labels as "const char foo[]" instead of functions. on hppa, function pointers are funky so let's just avoid them here. --- sys/sys/ras.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/ras.h b/sys/sys/ras.h index 10a4108a1ecf..cdb23b7b7462 100644 --- a/sys/sys/ras.h +++ b/sys/sys/ras.h @@ -1,4 +1,4 @@ -/* $NetBSD: ras.h,v 1.3 2004/03/03 21:05:30 thorpej Exp $ */ +/* $NetBSD: ras.h,v 1.4 2004/07/18 22:34:21 chs Exp $ */ /*- * Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ extern struct pool ras_pool; #else #define RAS_DECL(name) \ -extern void __CONCAT(name,_ras_start(void)), __CONCAT(name,_ras_end(void)) +extern const char __CONCAT(name,_ras_start[]), __CONCAT(name,_ras_end[]) /* * RAS_START and RAS_END contain implicit instruction reordering