2ea18461d3
Reviewing the sets of headers for which conformtest has expectations for various standards showed up cases where headers had expectations for standards not including those headers, or were missing expectations for a standard that did include the header. This patch fixes easy cases of this (largely disabling tests for standards for which they are inapplicable). Tested x86_64. * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file. * conform/data/arpa/inet.h-data [XPG3]: Likewise. * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise. * conform/data/fmtmsg.h-data [XPG3]: Likewise. * conform/data/libgen.h-data [XPG3]: Likewise. * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise. * conform/data/ndbm.h-data [XPG3]: Likewise. * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise. * conform/data/netdb.h-data [XPG3]: Likewise. * conform/data/netinet/in.h-data [XPG3]: Likewise. * conform/data/poll.h-data [XPG3]: Likewise. * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise. * conform/data/strings.h-data [XPG3]: Likewise. * conform/data/stropts.h-data [XPG3]: Likewise. * conform/data/sys/mman.h-data [XPG3]: Likewise. * conform/data/sys/resource.h-data [XPG3]: Likewise. * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]: Likewise. * conform/data/sys/statvfs.h-data [XPG3]: Likewise. * conform/data/sys/time.h-data [XPG3]: Likewise. * conform/data/sys/timeb.h-data [XPG3]: Likewise. * conform/data/sys/uio.h-data [XPG3]: Likewise. * conform/data/sys/un.h-data [XPG3]: Likewise. * conform/data/syslog.h-data [XPG3]: Likewise. * conform/data/ucontext.h-data [XPG3]: Likewise. * conform/data/utmpx.h-data [XPG3]: Likewise. * conform/data/varargs.h-data [UNIX98]: Enable file.
45 lines
879 B
Plaintext
45 lines
879 B
Plaintext
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
|
|
constant LOG_PID
|
|
constant LOG_CONS
|
|
constant LOG_NDELAY
|
|
constant LOG_ODELAY
|
|
constant LOG_NOWAIT
|
|
|
|
constant LOG_KERN
|
|
constant LOG_USER
|
|
constant LOG_MAIL
|
|
constant LOG_NEWS
|
|
constant LOG_UUCP
|
|
constant LOG_DAEMON
|
|
constant LOG_AUTH
|
|
constant LOG_CRON
|
|
constant LOG_LPR
|
|
constant LOG_LOCAL0
|
|
constant LOG_LOCAL1
|
|
constant LOG_LOCAL2
|
|
constant LOG_LOCAL3
|
|
constant LOG_LOCAL4
|
|
constant LOG_LOCAL5
|
|
constant LOG_LOCAL6
|
|
constant LOG_LOCAL7
|
|
|
|
macro LOG_MASK
|
|
|
|
constant LOG_EMERG
|
|
constant LOG_ALERT
|
|
constant LOG_CRIT
|
|
constant LOG_ERR
|
|
constant LOG_WARNING
|
|
constant LOG_NOTICE
|
|
constant LOG_INFO
|
|
constant LOG_DEBUG
|
|
|
|
function void closelog (void)
|
|
function void openlog (const char*, int, int)
|
|
function int setlogmask (int)
|
|
function void syslog (int, const char*, ...)
|
|
|
|
allow LOG_*
|
|
allow *_t
|
|
#endif
|