summaryrefslogtreecommitdiff
path: root/Libraries/LibC/endian.h
AgeCommit message (Collapse)Author
2020-02-19LibC: Fix big endian definitionsLiav A
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-11-17LibC: Oopsie, add the missing semicolons to __bswap32() and __bswap64()Andreas Kling
Well that was a lot of flailing around.
2019-11-17LibC: Add back __bswap{16,32,64}() to endian.hAndreas Kling
2019-11-17LibC: Unbreak endian.hAndreas Kling
There were some missing semicolons so this file didn't compile. Also add some macro paranoia parentheses while we're here.
2019-11-16LibC: use GCC __builtin_bswap{16,32,64} to provide __bswap functionsØrjan Malde
2019-11-16LibC: properly populate endian.hØrjan Malde
2019-07-04Libraries: Create top level directory for libraries.Andreas Kling
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.