Date: Thu, 19 Jun 2008 07:30:32 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include spawn.h Message-ID: <200806190730.m5J7UpWM044567@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <spawn.h>: /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 <regex.h>. Submitted by: Andrzej Tobola <ato iem pw edu pl> Reviewed by: davidxu Approved by: philip (mentor, implicit) Revision Changes Path 1.3 +5 -2 src/include/spawn.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806190730.m5J7UpWM044567>