From owner-cvs-src-old@FreeBSD.ORG Sat Dec 5 18:55:33 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C8B9106568F for ; Sat, 5 Dec 2009 18:55:33 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 61C9D8FC1B for ; Sat, 5 Dec 2009 18:55:33 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nB5ItXQL063730 for ; Sat, 5 Dec 2009 18:55:33 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nB5ItXG5063729 for cvs-src-old@freebsd.org; Sat, 5 Dec 2009 18:55:33 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200912051855.nB5ItXG5063729@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Sat, 5 Dec 2009 18:55:16 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/gen exec.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2009 18:55:33 -0000 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