From owner-cvs-src@FreeBSD.ORG Thu Jun 19 07:30:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8A351065670; Thu, 19 Jun 2008 07:30:51 +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 DC2FF8FC13; Thu, 19 Jun 2008 07:30:51 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m5J7UpXH044568; Thu, 19 Jun 2008 07:30:51 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m5J7UpWM044567; Thu, 19 Jun 2008 07:30:51 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200806190730.m5J7UpWM044567@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Thu, 19 Jun 2008 07:30:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/include spawn.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 07:30:52 -0000 ed 2008-06-19 07:30:32 UTC FreeBSD src repository Modified files: include spawn.h Log: SVN rev 179873 on 2008-06-19 07:30:32Z by ed Remove __restrict keywords from array arguments to make GCC's -std=c99 work. When GCC is invoked with -std=c99, the following errors are displayed when including : /usr/include/spawn.h:69: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:69: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:72: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:72: error: static or type qualifiers in abstract declarator We'd better remove the __restrict keywords here. The same is also done in . Submitted by: Andrzej Tobola Reviewed by: davidxu Approved by: philip (mentor, implicit) Revision Changes Path 1.3 +5 -2 src/include/spawn.h