Searched hist:179873 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/include/
H A Dspawn.hdiff 179873 Thu Jun 19 05:35:16 MDT 2008 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)

Completed in 91 milliseconds