Skip to content

Commit bd4b139

Browse files
committed
cleanup
1 parent 8f81760 commit bd4b139

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/crypt4gh.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,6 @@ typedef enum {
3737
} header_data_encryption_type;
3838

3939

40-
/*
41-
* Copy a value to cp in little-endian format
42-
*/
43-
44-
#define PUT_64BIT_LE(cp, value) do { \
45-
(cp)[7] = (value) >> 56; \
46-
(cp)[6] = (value) >> 48; \
47-
(cp)[5] = (value) >> 40; \
48-
(cp)[4] = (value) >> 32; \
49-
(cp)[3] = (value) >> 24; \
50-
(cp)[2] = (value) >> 16; \
51-
(cp)[1] = (value) >> 8; \
52-
(cp)[0] = (value); } while (0)
53-
54-
#define PUT_32BIT_LE(cp, value) do { \
55-
(cp)[3] = (value) >> 24; \
56-
(cp)[2] = (value) >> 16; \
57-
(cp)[1] = (value) >> 8; \
58-
(cp)[0] = (value); } while (0)
59-
6040
/*
6141
* Read 8 bytes from p and
6242
* get its integer representation in little-endian format

0 commit comments

Comments
 (0)