Module Name: src Committed By: rillig Date: Mon Aug 8 18:55:18 UTC 2022
Modified Files: src/sys/sys: endian.h Log Message: sys/endian.h: fix typo in comment Came here because lint complained about non-constant case expressions in sys/arch/xen/xen/xennet_checksum.c, line 111 and 122, which read: case htons(ETHERTYPE_IP): case htons(ETHERTYPE_IPV6): POSIX says: On some implementations, these functions are defined as macros. NetBSD implements these functions as macros, and on little-endian platforms, as well as in lint mode, the macros expand to function calls. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/sys/endian.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.