all: more minor cleanups

This commit is contained in:
Markus F.X.J. Oberhumer
2023-11-26 18:30:47 +01:00
parent bf8dd31914
commit 3e70021406
10 changed files with 42 additions and 46 deletions
+2 -4
View File
@@ -136,12 +136,10 @@ bool PackPs1::readBkupHeader() {
}
#define INIT_BH_BKUP(p, l) \
ACC_BLOCK_BEGIN \
{ \
do { \
(p)->id = '1'; \
(p)->len = l; \
} \
ACC_BLOCK_END
} while (0)
#define ADLER16(a) (((a) >> 16) ^ ((a) &0xffff))
void PackPs1::putBkupHeader(const byte *src, byte *dst, unsigned *len) {