summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/include
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2009-08-22 02:54:52 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2009-08-22 02:54:52 +0000
commit06e29584d413606b21c240635e12d7500b385ae5 (patch)
tree5e6f8a395a9c0030fc223059bb7a1b39529330c5 /sys/arch/macppc/include
parentc647754eb2c6d41408fe754bf7167383562e01b1 (diff)
Constify the what/name parameter of pci_intr_establish().
Tested by myself, sthen, oga, kettenis, and jasper. Input from sthen and jasper. ok kettenis (Manpage follows shortly.)
Diffstat (limited to 'sys/arch/macppc/include')
-rw-r--r--sys/arch/macppc/include/autoconf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/include/autoconf.h b/sys/arch/macppc/include/autoconf.h
index 6e89313f9df..312898392ff 100644
--- a/sys/arch/macppc/include/autoconf.h
+++ b/sys/arch/macppc/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.8 2008/09/16 04:20:42 drahn Exp $ */
+/* $OpenBSD: autoconf.h,v 1.9 2009/08/22 02:54:50 mk Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -100,7 +100,7 @@ extern time_write_t *time_write;
typedef int mac_intr_handle_t;
typedef void *(intr_establish_t)(void *, mac_intr_handle_t,
- int, int, int (*func)(void *), void *, char *);
+ int, int, int (*func)(void *), void *, const char *);
typedef void (intr_disestablish_t)(void *, void *);
struct cpu_info;
typedef void (intr_send_ipi_t)(struct cpu_info *, int);