driver_ndis_.c patch

Sergio sergioyebenes at alumnos.upm.es
Mon Jul 28 09:11:47 EDT 2008


Sergio escribió:
> Hi,
>
> well, first, i think the correct syntax is:
>
> #ifdef CONFIG_NDIS_EVENTS_INTEGRATED
>   void wpa_driver_ndis_event_pipe_cb(void *eloop_data, void *user_data)
>   {
>                             (int) GetLastError() /* ) */;
>    	/* } */     
>   }
>
> #endif
>
> and said this, with .config file i'm sending, you can see my best
> achieve without dependencies of header files:
>
> ...........
> O_T_PRF -DCONFIG_NDIS_EVENTS_INTEGRATED   -c
> -o ../src/drivers/driver_ndis_.o ../src/drivers/driver_ndis_.c
> ../src/drivers/driver_ndis_.c:106: error: redefinition of
> 'wpa_driver_ndis_event_pipe_cb'
> ../src/drivers/driver_ndis_.c:31: error: previous definition of
> 'wpa_driver_ndis_event_pipe_cb' was here
> make: *** [../src/drivers/driver_ndis_.o] Error 1
>
>
> i think, with some fear, that would be this:
>
> #ifdef CONFIG_NDIS_EVENTS_INTEGRATED
>   void wpa_driver_ndis_event_pipe_cb(void *eloop_data, void *user_data)
>   {
>                             (int) GetLastError() /* ) */;
>    	/* } */     
>   }
>
> else /* the other function definition*/
> #endif
>
> Sergius
...replacing the function definition, without "else".......

whatever i do, compilation depends of "wbemidl.h"


More information about the HostAP mailing list