tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: error in sys/cdefs.h ?
On Mon, Apr 30, 2012 at 12:06:27 -0700, Paul Goyette wrote:
> While trying to muddle my way through the net80211 module mess, I noticed
> the following line in sys/cdefs.h:
>
> #define __link_set_entry(set, idx) (__link_set_begin(set)[idx])
>
> This is the only place where __link_set_begin is referenced in the entire
> source tree, and I think that it really should have been
>
> #define __link_set_entry(set, idx) (__link_set_start(set)[idx])
>
> Fortunately, there is also nothing else in the source tree that uses the
> __link_set_entry macro(), so this isn't causing any real pain. But I think
> it should be corrected before someone does try to use it.
>
>
> Any reason this should not be changed?
No. It's obviosuly a typo.
-uwe
Home |
Main Index |
Thread Index |
Old Index