This patch adds "make local" target in examples/Makefile. Using this
target examples will be build using biTStream in their parent directory
(not the system wide install). This target simplifies biTSream development
and testing.
The fixed warnings are:
bitstream/dvb/sim.h: In function "tlv_find_data":
bitstream/dvb/sim.h:216:5: warning: return discards qualifiers from pointer target type
bitstream/dvb/sim.h: In function "ecmg_validate":
bitstream/dvb/sim.h:389:5: warning: excess elements in scalar initializer
bitstream/dvb/sim.h:389:5: warning: (near initialization for "p_param")
bitstream/dvb/sim.h:389:5: warning: excess elements in scalar initializer
bitstream/dvb/sim.h:389:5: warning: (near initialization for "p_param")
bitstream/dvb/si.h: In function "dvb_string_set":
bitstream/dvb/si.h:174:9: warning: pointer targets in passing argument 1 of "strlen" differ in signedness
/usr/include/string.h:399:15: note: expected "const char *" but argument is of type "const uint8_t *"
bitstream/dvb/si.h:174:9: warning: pointer targets in passing argument 1 of "__strdup" differ in signedness
/usr/include/bits/string2.h:1303:14: note: expected "const char *" but argument is of type "const uint8_t *"
bitstream/dvb/si.h:174:9: warning: pointer targets in return differ in signedness
bitstream/dvb/si.h: In function "dvb_string_get":
bitstream/dvb/si.h:219:25: warning: passing argument 3 of "pf_iconv" discards qualifiers from pointer target type
bitstream/dvb/si.h:219:25: note: expected "char *" but argument is of type "const uint8_t *"
bitstream/dvb/si.h: In function "desc48_get_service":
bitstream/dvb/si.h:742:5: warning: return discards qualifiers from pointer target type
This is to avoid the hack with the CAT table, which doesn't have a descs
"header". So there are new functions descl_* to handle descriptor lists
without length. This change is backwards compatible for all tables except
CAT.