Date: Mon, 21 Jul 2003 11:35:51 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys cdefs.h systm.h Message-ID: <200307211835.h6LIZpQu051797@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2003/07/21 11:35:51 PDT
FreeBSD src repository
Modified files:
sys/sys cdefs.h systm.h
Log:
Add a new macro __nonnull(x) to use the new GCC33 attribute which checks
that an argument is not a NULL pointer.
Apply various obvious places.
I belive __printf*() implies __nonnull() so it is not needed on functions
already tagged that way.
Revision Changes Path
1.72 +6 -0 src/sys/sys/cdefs.h
1.195 +16 -16 src/sys/sys/systm.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307211835.h6LIZpQu051797>
