Cool, this kind of scripts will indeed be useful, specially when used in
jenkins.sh
It would be nice to do following check too:
* If a struct has BIG_ENDIAN/LITTLE_ENDIAN ifdefs related to bitfields,
then verify it contains the "packed" attribute. Why do you care
otherwise about bit fields if you are not planning to send over the
network? And if you send them over the network you definetly don't want
padding.
--
- Pau Espin Pedrol <pespin(a)sysmocom.de>
http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte