[PATCH] Fix kdenetwork/wifi compilation with iwlib27

Dominique Devriese dominique.devriese at student.kuleuven.ac.be
Fri Feb 27 21:36:15 GMT 2004


Richard Smith writes:

> Hi
> On Friday 27 February 2004 9:07 pm, Dominique Devriese wrote:
>> +#if WT_VERSION >= 27 +inline int wtc_private_iw_get_stats( int
>> skfd, char* ifname, iwstats* stats ) +{
>> +  return iw_get_stats( skfd, ifname, stats, 0, 0 );
>> +} +#else +inline int wtc_private_iw_get_stats( int skfd, char*
>> ifname, iwstats* stats ) +{
>> +  return iw_get_stats( skfd, ifname, stats, 0, 0 );
>> +} +#endif

> These two look the same to me. Maybe you meant:

> inline int wtc_private_iw_get_stats( int skfd, char* ifname,
> iwstats* stats ) {
> #if WT_VERSION >= 27
>   return iw_get_stats( skfd, ifname, stats, 0, 0 );
> #else
>   return iw_get_stats( skfd, ifname, stats );
> #endif
> }

> (notice last two 0s removed).

Yes, of course, sorry about that.

cheers
domi




More information about the kde-core-devel mailing list