musl/include
Bobby Bingham f164875a84 don't shadow functions with macros in C++
C++ programmers typically expect something like "::function(x,y)" to work
and may be surprised to find that "(::function)(x,y)" is actually required
due to the headers declaring a macro version of some standard functions.

We already omit function-like macros for C++ in most cases where there is
a real function available. This commit extends this to the remaining
function-like macros which have a real function version.
2014-12-09 22:34:56 -05:00
..
arpa fix argument types for legacy function inet_makeaddr 2014-01-06 22:17:24 -05:00
net net/if_arp.h: add missing ARP hardware identifiers from linux uapi headers 2013-09-15 02:42:29 +00:00
netinet add new IPV6_AUTOFLOWLABEL socket option in netinet/in.h 2014-10-08 11:38:25 -04:00
netpacket
scsi add legacy scsi/scsi_ioctl.h header 2013-07-03 18:07:50 +02:00
sys fix macros for LFS *64_t types in sys/stat.h, sys/types.h, glob.h 2014-09-05 16:03:07 -04:00
aio.h
alloca.h
alltypes.h.in implement uchar.h (C11 UTF-16/32 conversion) interfaces 2014-10-13 20:59:42 -04:00
ar.h
assert.h add static_assert and hide noreturn, alignas, alignof from C++ 2014-08-27 02:55:54 -04:00
byteswap.h
complex.h don't shadow functions with macros in C++ 2014-12-09 22:34:56 -05:00
cpio.h
crypt.h
ctype.h suppress macro definitions of ctype functions under C++ 2014-10-14 12:30:50 -04:00
dirent.h refactor headers, especially alltypes.h, and improve C++ ABI compat 2013-07-22 11:22:36 -04:00
dlfcn.h const-qualify the address argument to dladdr 2014-01-06 22:03:38 -05:00
elf.h add or1k (OpenRISC 1000) architecture port 2014-07-18 14:10:23 -04:00
endian.h
err.h
errno.h add support for program_invocation[_short]_name 2013-04-06 17:50:37 -04:00
fcntl.h add new linux file sealing api to fcntl.h 2014-10-08 11:39:28 -04:00
features.h add _DEFAULT_SOURCE feature profile as an alias for _BSD_SOURCE 2014-09-10 12:47:55 -04:00
fenv.h
float.h add C11 floating-point characteristic macros to float.h 2014-08-27 02:54:01 -04:00
fmtmsg.h implement fmtmsg function 2014-06-21 19:24:15 -04:00
fnmatch.h remove now-unnecessary features.h inclusion from fnmatch.h 2013-12-02 02:06:52 -05:00
ftw.h
getopt.h
glob.h fix macros for LFS *64_t types in sys/stat.h, sys/types.h, glob.h 2014-09-05 16:03:07 -04:00
grp.h add put*ent functions for passwd/group files and similar for shadow 2013-04-04 19:23:47 -04:00
iconv.h
ifaddrs.h make ifaddrs.h expose sys/socket.h 2013-04-10 22:38:46 -04:00
inttypes.h fix inttypes.h PRI and SCN macros for [u]intptr_t types 2013-10-30 14:52:55 -04:00
iso646.h
langinfo.h fix multiple minor namespace issues in headers 2013-10-20 22:01:51 -04:00
lastlog.h
libgen.h
libintl.h
limits.h increase TTY_NAME_MAX limit to 32 2013-11-29 12:45:09 -05:00
link.h add missing c++ extern "C" wrapping to link.h 2013-08-02 16:52:17 -04:00
locale.h restore type of NULL to void * except when used in C++ programs 2013-11-24 21:42:55 -05:00
malloc.h add malloc_usable_size function and non-stub malloc.h 2014-08-25 22:47:27 -04:00
math.h math.h: make __FLOAT_BITS and __DOUBLE_BITS C89 2014-03-09 19:29:41 +01:00
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h add support for ipv6 scope_id to getaddrinfo and getnameinfo 2014-06-04 02:24:38 -04:00
nl_types.h refactor headers, especially alltypes.h, and improve C++ ABI compat 2013-07-22 11:22:36 -04:00
paths.h remove duplicate definition of _PATH_LASTLOG in paths.h 2013-12-03 20:34:36 -05:00
poll.h
pthread.h don't shadow functions with macros in C++ 2014-12-09 22:34:56 -05:00
pty.h
pwd.h add put*ent functions for passwd/group files and similar for shadow 2013-04-04 19:23:47 -04:00
regex.h make regoff_t and regex_t match C++ ABI 2013-07-22 14:39:59 -04:00
resolv.h fix res_mkquery and res_send prototypes in resolv.h 2013-12-04 21:31:39 +00:00
sched.h fix CPU_EQUAL macro in sched.h 2014-08-13 16:55:56 +02:00
search.h implement hcreate_r, hdestroy_r and hsearch_r 2014-04-02 18:37:45 -04:00
semaphore.h
setjmp.h change jmp_buf to share an underlying type and struct tag with sigjmp_buf 2013-07-24 02:17:02 -04:00
shadow.h
signal.h fix places where _BSD_SOURCE failed to yield a superset of _XOPEN_SOURCE 2014-09-10 12:27:33 -04:00
spawn.h
stdalign.h add static_assert and hide noreturn, alignas, alignof from C++ 2014-08-27 02:55:54 -04:00
stdarg.h
stdbool.h stdbool.h should define __bool_true_false_are_defined even for C++ 2013-08-28 00:41:00 -04:00
stddef.h add max_align_t definition for C11 and C++11 2014-08-20 17:20:14 -04:00
stdint.h change wint_t to unsigned 2013-07-22 13:05:41 -04:00
stdio.h restore type of NULL to void * except when used in C++ programs 2013-11-24 21:42:55 -05:00
stdio_ext.h
stdlib.h fix places where _BSD_SOURCE failed to yield a superset of _XOPEN_SOURCE 2014-09-10 12:27:33 -04:00
stdnoreturn.h add static_assert and hide noreturn, alignas, alignof from C++ 2014-08-27 02:55:54 -04:00
string.h restore type of NULL to void * except when used in C++ programs 2013-11-24 21:42:55 -05:00
strings.h implement ffsl and ffsll functions 2014-07-31 02:38:23 -04:00
stropts.h
syscall.h
sysexits.h
syslog.h remove hack in syslog.h that resulted in aliasing violations 2014-06-21 07:44:46 -04:00
tar.h
termios.h
tgmath.h
threads.h don't shadow functions with macros in C++ 2014-12-09 22:34:56 -05:00
time.h fix places where _BSD_SOURCE failed to yield a superset of _XOPEN_SOURCE 2014-09-10 12:27:33 -04:00
uchar.h implement uchar.h (C11 UTF-16/32 conversion) interfaces 2014-10-13 20:59:42 -04:00
ucontext.h
ulimit.h
unistd.h fix places where _BSD_SOURCE failed to yield a superset of _XOPEN_SOURCE 2014-09-10 12:27:33 -04:00
utime.h
utmp.h fix namespace violations in utmpx.h 2014-01-08 19:36:29 -05:00
utmpx.h fix namespace violations in utmpx.h 2014-01-08 19:36:29 -05:00
values.h
wait.h add workaround header for wait.h remapping to sys/wait.h 2013-09-01 01:01:31 -04:00
wchar.h suppress macro definitions of ctype functions under C++ 2014-10-14 12:30:50 -04:00
wctype.h suppress macro definitions of ctype functions under C++ 2014-10-14 12:30:50 -04:00
wordexp.h