diff options
author | 2016-03-17 19:40:43 +0000 | |
---|---|---|
committer | 2016-03-17 19:40:43 +0000 | |
commit | 534084640310a3b73784adb5e68a3695b1c4a21c (patch) | |
tree | 6f4f33f996feb61f08988b759dea9f9a06a42f9a /lib | |
parent | Set mnt_data to NULL after freeing the file system specific mount point. (diff) | |
download | wireguard-openbsd-534084640310a3b73784adb5e68a3695b1c4a21c.tar.xz wireguard-openbsd-534084640310a3b73784adb5e68a3695b1c4a21c.zip |
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@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions