cvs commit: src/include spawn.h
Ed Schouten
ed at FreeBSD.org
Thu Jun 19 07:30:52 UTC 2008
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
More information about the cvs-src
mailing list