forked from osmocom/wireshark
e1d9a226a2
The static arrays are supposed to be arrays of const pointers to int, not arrays of non-const pointers to const int. Fixing that means some bugs (scribbling on what's *supposed* to be a const array) will be caught (see packet-ieee80211-radiotap.c for examples, the first of which inspired this change and the second of which was discovered while testing compiles with this change), and removes the need for some annoying casts. Also make some of those arrays static while we're at it. Update documentation and dissector-generator tools. Change-Id: I789da5fc60aadc15797cefecfd9a9fbe9a130ccc Reviewed-on: https://code.wireshark.org/review/37517 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com> |
||
---|---|---|
.. | ||
AUTHORS | ||
CMakeLists.txt | ||
packet-ams.c | ||
packet-ams.h | ||
packet-ecatmb.c | ||
packet-ecatmb.h | ||
packet-esl.c | ||
packet-ethercat-datagram.c | ||
packet-ethercat-datagram.h | ||
packet-ethercat-frame.c | ||
packet-ethercat-frame.h | ||
packet-ioraw.c | ||
packet-ioraw.h | ||
packet-nv.c | ||
packet-nv.h |