From 4a17d9141c3c4643374ce4cfcbeb691bfd082f6d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 20 Jan 2005 20:06:44 +0000 Subject: [PATCH] Include necessary declarations --- sys/dev/ex/if_ex_pccard.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/ex/if_ex_pccard.c b/sys/dev/ex/if_ex_pccard.c index d0daa92fd21..16b9d2045f9 100644 --- a/sys/dev/ex/if_ex_pccard.c +++ b/sys/dev/ex/if_ex_pccard.c @@ -89,6 +89,9 @@ static int ex_pccard_match(device_t dev) { const struct pccard_product *pp; + int error; + uint32_t fcn = PCCARD_FUNCTION_UNSPEC; + /* Make sure we're a network function */ error = pccard_get_function(dev, &fcn); if (error != 0)