diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
commit | 1b46557c21ab146b0e43c06a8e1e922202afd373 (patch) | |
tree | 1ec35db1a5a1d4721c6893b6be4dff54402005ea /sys/dev/lnc | |
parent | 2d9e52659ce15a8f818a51abfda4613167fdc974 (diff) | |
download | FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.zip FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.tar.gz |
probe function changed from returning char * to const char *.
Diffstat (limited to 'sys/dev/lnc')
-rw-r--r-- | sys/dev/lnc/if_lnc_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/lnc/if_lnc_pci.c b/sys/dev/lnc/if_lnc_pci.c index 3cffcab..27f2048 100644 --- a/sys/dev/lnc/if_lnc_pci.c +++ b/sys/dev/lnc/if_lnc_pci.c @@ -17,7 +17,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: if_lnc_p.c,v 1.5 1997/08/02 14:33:11 bde Exp $ + * $Id: if_lnc_p.c,v 1.6 1998/07/20 17:33:01 msmith Exp $ */ #include "pci.h" @@ -36,7 +36,7 @@ extern void *lnc_attach_ne2100_pci __P((int unit, unsigned iobase)); -static char* lnc_pci_probe __P((pcici_t tag, pcidi_t type)); +static const char* lnc_pci_probe __P((pcici_t tag, pcidi_t type)); static void lnc_pci_attach __P((pcici_t config_id, int unit)); static u_long lnc_pci_count = NLNC; @@ -51,7 +51,7 @@ static struct pci_device lnc_pci_driver = { DATA_SET (pcidevice_set, lnc_pci_driver); -static char* +static const char* lnc_pci_probe (pcici_t tag, pcidi_t type) { switch(type) { |