CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/03/17 13:40:43
Modified files:
regress/lib/libpthread/signals/ignore_sigchild:
ignore_sigchild.c
regress/sys/kern/exec_self: exec_self.c
regress/sys/kern/kqueue: kqueue-process.c
sbin/swapctl : swapctl.c
usr.bin/ftp : cmds.c
usr.bin/sendbug: sendbug.c
usr.bin/usbhidaction: usbhidaction.c
usr.sbin/pppd : main.c
usr.sbin/smtpd : makemap.c smtpctl.c smtpd.c
usr.sbin/vmctl : main.c
Log message:
Last parameter to execl[e]() functions *must* be cast to a pointer.
Just NULL is not good practise as NULL is theoretically allowed to
be an integer rather than a pointer.
Use (char *)NULL consistently instead of scattering a few (char *)0
and (void *)NULL into the mix.
Prompted by and probably ok deraadt@ millert@ kettenis@
Definitely ok mestre@ ratchov@