aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/endian.h
Commit message (Collapse)AuthorAgeFilesLines
* sys: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-4/+4
| | | | Notes: svn path=/head/; revision=365223
* sys/sys: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326256
* Fix some way-past-brucification complaints from FlexeLint.Poul-Henning Kamp2010-05-201-18/+23
| | | | Notes: svn path=/head/; revision=208331
* Quiet warnings about mis-matched pointer assignment.David E. O'Brien2003-10-151-12/+12
| | | | | | | Tested on: PowerPC Notes: svn path=/head/; revision=121122
* Pointy hat commit:Poul-Henning Kamp2003-04-031-3/+3
| | | | | | | | Don't Cut&Paste from big endian to little endian function without subsequent adjustments. Notes: svn path=/head/; revision=113009
* Use "unsigned char" instead of "u_char" to avoid trouble.Poul-Henning Kamp2003-04-031-12/+12
| | | | Notes: svn path=/head/; revision=113007
* Add inline functions {be,le}{16,32,64}{enc,dec}() for encoding decodingPoul-Henning Kamp2003-04-031-0/+108
| | | | | | | into byte strings of unknown alignment. Notes: svn path=/head/; revision=113005
* Make this header self-reliant with regard to the types it uses.Mike Barcroft2002-04-291-12/+28
| | | | Notes: svn path=/head/; revision=95737
* Move the new byte order function prototypes from <sys/param.h> toMike Barcroft2002-04-261-0/+76
<sys/endian.h>. This puts us in line with NetBSD and OpenBSD. Notes: svn path=/head/; revision=95533