diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2010-07-01 04:33:24 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2010-07-01 04:33:24 +0000 |
commit | e9a7fe87f9471bcf5bdb369fee3ef60ae70fd385 (patch) | |
tree | f1aef005ccb2e771191d743b36a1f12a950a0b32 | |
parent | 529e48cecc263e6a44afa4efbbe43477ff2c1edb (diff) |
Add missing function prototypes.
-rw-r--r-- | sys/arch/hppa64/dev/apic.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/dev/cpu.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/autoconf.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/arch/hppa64/dev/apic.c b/sys/arch/hppa64/dev/apic.c index c2e2a9c491c..68ed3a57d9d 100644 --- a/sys/arch/hppa64/dev/apic.c +++ b/sys/arch/hppa64/dev/apic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apic.c,v 1.4 2010/05/24 15:06:03 deraadt Exp $ */ +/* $OpenBSD: apic.c,v 1.5 2010/07/01 04:33:23 jsing Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -30,6 +30,8 @@ #include <hppa64/dev/elroyreg.h> #include <hppa64/dev/elroyvar.h> +void apic_write(volatile struct elroy_regs *, u_int32_t, u_int32_t); +u_int32_t apic_read(volatile struct elroy_regs *, u_int32_t); void apic_write(volatile struct elroy_regs *r, u_int32_t reg, u_int32_t val) diff --git a/sys/arch/hppa64/dev/cpu.c b/sys/arch/hppa64/dev/cpu.c index f57c4b619b4..068bcf49df5 100644 --- a/sys/arch/hppa64/dev/cpu.c +++ b/sys/arch/hppa64/dev/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.2 2005/05/22 01:38:09 mickey Exp $ */ +/* $OpenBSD: cpu.c,v 1.3 2010/07/01 04:33:23 jsing Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -39,6 +39,8 @@ struct cpu_softc { int cpumatch(struct device *, void *, void *); void cpuattach(struct device *, struct device *, void *); +int cpu_hardclock(void *); + struct cfattach cpu_ca = { sizeof(struct cpu_softc), cpumatch, cpuattach }; diff --git a/sys/arch/hppa64/hppa64/autoconf.c b/sys/arch/hppa64/hppa64/autoconf.c index 72b7acf00fc..cac45da27df 100644 --- a/sys/arch/hppa64/hppa64/autoconf.c +++ b/sys/arch/hppa64/hppa64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.12 2010/05/24 15:06:05 deraadt Exp $ */ +/* $OpenBSD: autoconf.c,v 1.13 2010/07/01 04:33:23 jsing Exp $ */ /* * Copyright (c) 1998-2005 Michael Shalayeff @@ -344,6 +344,8 @@ pdc_scan(struct device *self, struct confargs *ca) } } +struct pdc_pat_pci_rt *pdc_getirt(int *); + struct pdc_pat_pci_rt * pdc_getirt(int *pn) { |