summaryrefslogtreecommitdiff
path: root/libgcompat/alias.h
AgeCommit message (Collapse)AuthorFilesLines
2019-01-05Makefile: depend on internal.h; format headersSamuel Holland1-2/+2
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-14libgcompat: Add and use a macro for defining symbol aliasesSamuel Holland1-0/+9
* Prefer providing the underscore-prefixed symbol as the strong definition. * Do not use a weak alias if the alias is also underscore-prefixed. * Make libgcompat objects depend on the new header. [NOTE: I originally took the weak_alias macro from musl's libc.h, but it's trivial and the same pattern already in use. If desired, I can add the musl copyright notice.] Signed-off-by: Samuel Holland <samuel@sholland.org>