Age | Commit message (Collapse) | Author | Lines |
2018年01月09日 | add additional uapi guards for Linux kernel header files | Hauke Mehrtens | -0/+7 |
|
With Linux kernel 4.16 it will be possible to guard more parts of the
Linux header files from a libc. Make use of this in musl to guard all
the structures and other definitions from the Linux header files which
are also defined by the header files provided by musl. This will make
it possible to compile source files which include both the libc
headers and the kernel userspace headers.
This extends the definitions done in commit 04983f227238 ("make
netinet/in.h suppress clashing definitions from kernel headers")
|
2016年09月16日 | fix ifru_data and ifcu_buf types in net/if.h | Daniel Sabogal | -2/+2 |
|
glibc, freebsd, and openbsd use character pointers (caddr_t) for
these fields. only linux uses void pointer for the ifru_data type.
|
2016年07月03日 | make brace placement in public header struct definitions consistent | Rich Felker | -2/+1 |
|
placing the opening brace on the same line as the struct keyword/tag
is the style I prefer and seems to be the prevailing practice in more
recent additions.
these changes were generated by the command:
find include/ arch/*/bits -name '*.h' \
-exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} +
and subsequently checked by hand to ensure that the regex did not pick
up any false positives.
|
2013年04月05日 | net/if.h: add some missing IFF_ constants | rofl0r | -0/+5 |
|
2012年09月07日 | default features: make musl usable without feature test macros | Rich Felker | -0/+2 |
|
the old behavior of exposing nothing except plain ISO C can be
obtained by defining __STRICT_ANSI__ or using a compiler option (such
as -std=c99) that predefines it. the new default featureset is POSIX
with XSI plus _BSD_SOURCE. any explicit feature test macros will
inhibit the default.
installation docs have also been updated to reflect this change.
|
2012年05月22日 | support _BSD_SOURCE feature test macro | Rich Felker | -1/+1 |
|
patch by Isaac Dunham. matched closely (maybe not exact) to glibc's
idea of what _BSD_SOURCE should make visible.
|
2011年11月10日 | fix all missing instances of __cplusplus checks/extern "C" in headers | Rich Felker | -1/+7 |
|
patch by Arvid Picciani (aep)
|
2011年02月12日 | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | -0/+122 |
|