mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
old-style-definition warnings
This commit is contained in:
parent
1a89680e7b
commit
605a754b20
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ void legic_prng_forward(int count) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t legic_prng_get_bit() {
|
uint8_t legic_prng_get_bit(void) {
|
||||||
uint8_t idx = 7 - ((lfsr.a & 4) | (lfsr.a >> 2 & 2) | (lfsr.a >> 4 & 1));
|
uint8_t idx = 7 - ((lfsr.a & 4) | (lfsr.a >> 2 & 2) | (lfsr.a >> 4 & 1));
|
||||||
return lfsr.b >> idx & 1;
|
return lfsr.b >> idx & 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
MYSRCPATHS = ../../common/zlib
|
MYSRCPATHS = ../../common/zlib
|
||||||
MYSRCS = deflate.c adler32.c trees.c zutil.c inflate.c inffast.c inftrees.c
|
MYSRCS = deflate.c adler32.c trees.c zutil.c inflate.c inffast.c inftrees.c
|
||||||
MYINCLUDES = -I../../common/zlib
|
MYINCLUDES = -I../../common/zlib
|
||||||
MYCFLAGS = -Wno-strict-prototypes -Wno-missing-prototypes -Wno-missing-declarations
|
MYCFLAGS = -Wno-strict-prototypes -Wno-missing-prototypes -Wno-missing-declarations -Wno-old-style-definition -Wno-implicit-fallthrough
|
||||||
MYDEFS = -DZ_SOLO -DNO_GZIP -DZLIB_PM3_TUNED
|
MYDEFS = -DZ_SOLO -DNO_GZIP -DZLIB_PM3_TUNED
|
||||||
#-DDEBUG -Dverbose=1
|
#-DDEBUG -Dverbose=1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue