summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 00:36:36 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 00:36:36 +0000
commit4e34ff4e34384bd86c5183cd03598c41e5665b57 (patch)
tree6b701144a1b9242d574f7694f6d0918a0b9f47c7 /sys/dev/rp
parent156a777d2e41c710c3fcc2329df92503093f70a1 (diff)
downloadFreeBSD-src-4e34ff4e34384bd86c5183cd03598c41e5665b57.zip
FreeBSD-src-4e34ff4e34384bd86c5183cd03598c41e5665b57.tar.gz
Silence warnings.
Diffstat (limited to 'sys/dev/rp')
-rw-r--r--sys/dev/rp/rp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 7dd8c6d..28acaee 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -768,7 +768,7 @@ void sDisInterrupts(CHANNEL_T *ChP,Word_t Flags)
static int rpprobe __P((struct isa_device *));
static int rpattach __P((struct isa_device *));
-static char* rp_pciprobe(pcici_t tag, pcidi_t type);
+static const char* rp_pciprobe(pcici_t tag, pcidi_t type);
static void rp_pciattach(pcici_t tag, int unit);
static u_long rp_pcicount;
@@ -1007,7 +1007,7 @@ static void rp_do_poll(void *not_used)
timeout(rp_do_poll, (void *)NULL, POLL_INTERVAL);
}
-static char*
+static const char*
rp_pciprobe(pcici_t tag, pcidi_t type)
{
int vendor_id;
OpenPOWER on IntegriCloud