DragonFly users List (threaded) for 2007-01
DragonFly BSD
DragonFly users List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: NDIS compile problem


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Wed, 3 Jan 2007 22:01:53 +0800

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

Best Regards,
sephe

On 1/3/07, Vladimir Mitiouchev <vovcia@gmail.com> wrote:
On 1/3/07, Sepherosa Ziehau <sepherosa@gmail.com> 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;


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]