mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 06:13:27 -07:00
Remove unused method le32toh.
The version in PM3 conflicts with a declaration in /usr/include/x86_64-linux-gnu/bits/waitstatus.h, which can cause build /failures in obscure circumstances.
This commit is contained in:
parent
6e3d8d671a
commit
bed3db8f1d
2 changed files with 0 additions and 4 deletions
|
@ -721,9 +721,6 @@ void xor(unsigned char *dst, unsigned char *src, size_t len) {
|
|||
int32_t le24toh (uint8_t data[3]) {
|
||||
return (data[2] << 16) | (data[1] << 8) | data[0];
|
||||
}
|
||||
uint32_t le32toh (uint8_t *data) {
|
||||
return (uint32_t)( (data[3]<<24) | (data[2]<<16) | (data[1]<<8) | data[0]);
|
||||
}
|
||||
|
||||
// RotateLeft - Ultralight, Desfire, works on byte level
|
||||
// 00-01-02 >> 01-02-00
|
||||
|
|
|
@ -90,7 +90,6 @@ extern void wiegand_add_parity(uint8_t *target, uint8_t *source, uint8_t length)
|
|||
|
||||
extern void xor(unsigned char *dst, unsigned char *src, size_t len);
|
||||
extern int32_t le24toh(uint8_t data[3]);
|
||||
extern uint32_t le32toh (uint8_t *data);
|
||||
extern void rol(uint8_t *data, const size_t len);
|
||||
|
||||
extern void clean_ascii(unsigned char *buf, size_t len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue