CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2018/01/03 16:20:10
Modified files: sys/sys : _endian.h Log message: rework __swapXX to avoid the use of __statement. the primary motivation of this was to allow the use of things like htons() and htole16() as case labels. previously gcc would vomit with "expression is not an integer constant expression" if you tried that. ok guenther@