Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   dyoung
Date:           Tue Oct 14 23:13:44 UTC 2003

Modified Files:
        src/sys/dev/ic: ath.c
        src/sys/net80211: ieee80211.c

Log Message:
Do not index arrays using enum constants, since enums can be
re-ordered and extended. Instead, use a switch-statement or a
key->value table with appropriate bounds-checking.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/dev/ic/ath.c
cvs rdiff -r1.5 -r1.6 src/sys/net80211/ieee80211.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index