[PATCH] Fix kdenetwork/wifi compilation with iwlib27

Richard Smith kde at metafoo.co.uk
Fri Feb 27 21:18:29 GMT 2004


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).

Thanks,
Richard




More information about the kde-core-devel mailing list