From f2afca50302a29a76a94e01e76378a71622630b4 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 23 Oct 2005 15:02:30 +0000 Subject: [PATCH] - Remove __P. - Remove var names in function declaration. --- sys/arch/hpcarm/include/bootconfig.h | 4 ++-- sys/arch/hpcarm/include/irqhandler.h | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/arch/hpcarm/include/bootconfig.h b/sys/arch/hpcarm/include/bootconfig.h index 63f6aab50e4d..061b12982bd9 100644 --- a/sys/arch/hpcarm/include/bootconfig.h +++ b/sys/arch/hpcarm/include/bootconfig.h @@ -1,4 +1,4 @@ -/* $NetBSD: bootconfig.h,v 1.4 2005/06/02 20:12:35 uwe Exp $ */ +/* $NetBSD: bootconfig.h,v 1.5 2005/10/23 15:02:30 peter Exp $ */ /* * Copyright (c) 1994 Mark Brinicombe. @@ -66,7 +66,7 @@ extern BootConfig bootconfig; #define BOOTOPT_TYPE_HEXINT 4 #define BOOTOPT_TYPE_MASK 7 -int get_bootconf_option __P((char *string, const char *option, int type, void *result)); +int get_bootconf_option(char *, const char *, int, void *); extern char *boot_args; extern char boot_file[]; diff --git a/sys/arch/hpcarm/include/irqhandler.h b/sys/arch/hpcarm/include/irqhandler.h index 244556b92462..fb13f64de4a6 100644 --- a/sys/arch/hpcarm/include/irqhandler.h +++ b/sys/arch/hpcarm/include/irqhandler.h @@ -1,4 +1,4 @@ -/* $NetBSD: irqhandler.h,v 1.5 2002/04/12 18:50:33 thorpej Exp $ */ +/* $NetBSD: irqhandler.h,v 1.6 2005/10/23 15:02:30 peter Exp $ */ /* * Copyright (c) 1994-1996 Mark Brinicombe. @@ -60,7 +60,7 @@ #ifndef _LOCORE typedef struct irqhandler { - int (*ih_func) __P((void *arg));/* handler function */ + int (*ih_func)(void *); /* handler function */ void *ih_arg; /* Argument to handler */ int ih_level; /* Interrupt level */ int ih_count; /* Interrupt number (for accounting) */ @@ -76,10 +76,10 @@ typedef struct irqhandler { extern u_int imask[NIPL]; extern irqhandler_t *irqhandlers[NIRQS]; -void irq_init __P((void)); -void irq_setmasks __P((void)); -void disable_irq __P((int)); -void enable_irq __P((int)); +void irq_init(void); +void irq_setmasks(void); +void disable_irq(int); +void enable_irq(int); #endif /* _KERNEL */ #endif /* _LOCORE */