summaryrefslogtreecommitdiff
path: root/libgcompat/sysctl.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-14global: Format the code consistentlySamuel Holland1-12/+10
* Apply clang-format. * Change all comments to the same style. * Add braces as dictated by the coding style guidelines. Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-10-26sysctl: clean headers, ensure SYS__sysctl is def'dA. Wilcox1-3/+5
Linux/aarch64 does not define SYS__sysctl. This caused build errors in Alpine[1] and Void[2]. While I'm in here, fix up headers since we don't need errno or strings. [1]: https://git.alpinelinux.org/cgit/aports/commit/?id=400a9d40 [2]: https://github.com/voidlinux/void-packages/commit/a7aa924e
2017-06-14add sysctl()William Pitcock1-0/+28