about summary refs log tree commit diff
path: root/include/syslog.h
Commit message (Collapse)AuthorAgeFilesLines
* remove hack in syslog.h that resulted in aliasing violationsRich Felker2014-06-211-6/+2
| | | | | | | | | | | this issue affected the prioritynames and facilitynames arrays which are only provided when requested (usually by syslogd implementations) and which are presently defined as compound literals. the aliasing violation seems to have been introduced as a workaround for bad behavior by gcc's -Wwrite-strings option, but it caused compilers to completely optimize out the contents of prioritynames and facilitynames since, under many usage cases, the aliasing rules prove that the contents are never accessed.
* add parens when bit and arith ops are mixed in macros in public headersSzabolcs Nagy2014-02-111-1/+1
| | | | | another commit to silence gcc warnings (-Wparentheses) for standard headers. changed macros: LOG_UPTO, IN6_ARE_ADDR_EQUAL
* use 0 instead of NULL in headers where NULL is not definedSzabolcs Nagy2013-11-241-2/+2
| | | | some macros in sys/mtio.h and syslog.h used NULL without defining it
* default features: make musl usable without feature test macrosRich Felker2012-09-071-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.
* header file fixes: multiple include guard consistency and correctnessRich Felker2012-06-151-2/+2
| | | | | | | one file was reusing another file's macro name, and many had inconsistent underscores and application of SYS prefix, etc. patch by Szabolcs Nagy (nsz)
* support _BSD_SOURCE feature test macroRich Felker2012-05-221-1/+2
| | | | | patch by Isaac Dunham. matched closely (maybe not exact) to glibc's idea of what _BSD_SOURCE should make visible.
* fix missing va_list for vsyslogRich Felker2012-05-121-2/+2
|
* move vsyslog out of SYSLOG_NAMES conditionalRich Felker2012-05-101-2/+4
|
* add syslog.h cruft for syslogd to use...Rich Felker2011-04-131-0/+45
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+54