Please try attached patch.  At least it should make ndis compile.

Best Regards,
sephe

On 1/3/07, Vladimir Mitiouchev <[EMAIL PROTECTED]> wrote:
On 1/3/07, Sepherosa Ziehau <[EMAIL PROTECTED]> wrote:
> You will need to use following command to build modules:
> make depend all
OK. Now i have:
/usr/sources/src/sys/dev/netif/ndis/if_ndis.c: In function `ndis_shutdown':
/usr/sources/src/sys/dev/netif/ndis/if_ndis.c:2006: error: old-style
parameter declarations in prototyped function definition

--
Sincerely Yours,
Vladimir Mitiouchev



--
Live Free or Die
? NET8180.INF
? rtl8180.sys
Index: if_ndis.c
===================================================================
RCS file: /opt/df_cvs/src/sys/dev/netif/ndis/if_ndis.c,v
retrieving revision 1.19
diff -u -p -r1.19 if_ndis.c
--- if_ndis.c   25 Oct 2006 20:55:58 -0000      1.19
+++ if_ndis.c   3 Jan 2007 13:44:46 -0000
@@ -2002,7 +2002,6 @@ ndis_stop(struct ndis_softc *sc)
  */
 void
 ndis_shutdown(device_t dev)
-       device_t                dev;
 {
        struct ndis_softc       *sc;
        struct ifnet            *ifp;

Reply via email to