openbsd-ports/net/netatalk/patches/patch-binmegatron-updcrcc

12 lines
490 B
Plaintext

--- bin/megatron/updcrc.c.orig Wed Oct 20 12:46:23 1999
+++ bin/megatron/updcrc.c Wed Oct 20 12:48:17 1999
@@ -33,7 +33,7 @@
/* Value used by: CCITT XMODEM ARC */
#define P 0x1021 /* the poly: 0x1021 0x1021 A001 */
#define INIT_CRC 0L /* init value: -1 0 0 */
-/*#define SWAPPED /* bit order: undef defined defined */
+/*#define SWAPPED bit order: undef defined defined */
#define W 16 /* bits in CRC:16 16 16 */
/* data type that holds a W-bit unsigned integer */