bytesex.h: more simplifications and add const
commitf52ea70dd1dc35bc9382accf24ebdce42a6fb1fa
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 30 Nov 2017 01:19:27 +0000 (29 17:19 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 30 Nov 2017 01:19:27 +0000 (29 17:19 -0800)
treedec1c707e40cdbd8d9200def6e09677483e8c50d
parentdf5548a40cd05e0f4e2de0c4e220f93be521107a
bytesex.h: more simplifications and add const

Add more simplifications where it is practical; unify WRITECHAR() as
it has no need for byte swapping in any way.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
include/bytesex.h