freebsd-dev/include
Pedro F. Giffuni 153cbcd657 Make use of gcc attributes in some standard include headers.
The `nonnull' attribute specifies that some function parameters should be
non-null pointers.  This is very useful as it helps the compiler generate
warnings on suspicious code and can also enable some small optimizations.

Also start using 'alloc_size' attribute in the allocator functions.

This is an initial step to better integrate our libc with the compiler:
these attributes are fully supported by clang and they are also useful
for the static analyzer.

Note that due to some bogus internal procedure in the way gcc ports
are built they may require updating if they were built before r280801.

Relnotes:		yes
Hinted by:		Android's bionic libc
Differential Revision:	https://reviews.freebsd.org/D2107
2015-04-06 01:39:16 +00:00
..
arpa
gssapi
protocols
rpc
rpcsvc
xlocale
_ctype.h
a.out.h
ar.h
assert.h
bitstring.h
complex.h
cpio.h
ctype.h
db.h
dirent.h
dlfcn.h
elf-hints.h
elf.h
err.h
fmtmsg.h
fnmatch.h
fstab.h
fts.h
ftw.h
getopt.h
glob.h
grp.h
gssapi.h
hesiod.h
iconv.h
ieeefp.h
ifaddrs.h
inttypes.h
iso646.h
kenv.h
langinfo.h
libgen.h
limits.h
link.h
locale.h
Makefile Sort the entries by build knob, then MACHINE_ARCH like other areas of the tree 2015-02-04 11:48:33 +00:00
malloc_np.h
malloc.h
memory.h
mk-osreldate.sh
monetary.h
mpool.h
mqueue.h
ndbm.h
netconfig.h
netdb.h
nl_types.h
nlist.h
nss.h
nsswitch.h
paths.h
printf.h
proc_service.h
pthread_np.h
pthread.h Make use of gcc attributes in some standard include headers. 2015-04-06 01:39:16 +00:00
pwd.h
ranlib.h
readpassphrase.h
regex.h
res_update.h
resolv.h
runetype.h
search.h
semaphore.h
setjmp.h
signal.h Make use of gcc attributes in some standard include headers. 2015-04-06 01:39:16 +00:00
spawn.h
stab.h
stdalign.h
stdbool.h
stddef.h
stdio.h Correct and clarify comment for __SMBF. 2015-02-11 22:39:13 +00:00
stdlib.h Make use of gcc attributes in some standard include headers. 2015-04-06 01:39:16 +00:00
stdnoreturn.h
string.h
stringlist.h
strings.h
sysexits.h
tar.h
termios.h
tgmath.h
time.h
timeconv.h
timers.h
ttyent.h
uchar.h
ulimit.h
unistd.h
unwind.h
utime.h
utmpx.h
uuid.h
varargs.h
wchar.h
wctype.h
wordexp.h
xlocale.h