summaryrefslogtreecommitdiffstats
path: root/sys/dev/en
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 06:37:37 +0000
commit1b46557c21ab146b0e43c06a8e1e922202afd373 (patch)
tree1ec35db1a5a1d4721c6893b6be4dff54402005ea /sys/dev/en
parent2d9e52659ce15a8f818a51abfda4613167fdc974 (diff)
downloadFreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.zip
FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.tar.gz
probe function changed from returning char * to const char *.
Diffstat (limited to 'sys/dev/en')
-rw-r--r--sys/dev/en/if_en_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/en/if_en_pci.c b/sys/dev/en/if_en_pci.c
index 37db78e..acc6f63 100644
--- a/sys/dev/en/if_en_pci.c
+++ b/sys/dev/en/if_en_pci.c
@@ -80,7 +80,7 @@
*/
static void en_pci_attach __P((pcici_t, int));
-static char *en_pci_probe __P((pcici_t, pcidi_t));
+static const char *en_pci_probe __P((pcici_t, pcidi_t));
#ifdef SHUTDOWN_PRE_SYNC
static void en_pci_shutdown __P((int, void *));
#else
@@ -203,7 +203,7 @@ void *v;
* autoconfig stuff
*/
-static char *en_pci_probe(config_id, device_id)
+static const char *en_pci_probe(config_id, device_id)
pcici_t config_id;
pcidi_t device_id;
OpenPOWER on IntegriCloud