Date: Sat, 5 Dec 2009 18:55:16 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/gen exec.c Message-ID: <200912051855.nB5ItXG5063729@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-12-05 18:55:16 UTC
FreeBSD src repository
Modified files:
lib/libc/gen exec.c
Log:
SVN rev 200136 on 2009-12-05 18:55:16Z by ed
Remove warnings from exec.c.
The entries in the argv array are not const themselves, but sometimes we
want to fill in const values. Just make the array const and use
__DECONST() to make it const for the execve()-call itself.
Also convert the only K&R prototype to ANSI.
Revision Changes Path
1.27 +19 -20 src/lib/libc/gen/exec.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912051855.nB5ItXG5063729>
