Mercurial > ecos-v3_0-branch
changeset 1782:59df0967a02b
* src/select.cxx: place the CYGBLD_ATTRIB_INIT_PRI such that it
compiles for gcc 3.4.2 which is more picky about its placement.
| author | asl |
|---|---|
| date | Mon, 04 Oct 2004 11:50:06 +0000 |
| parents | 22d367a6f8f2 |
| children | 5b91c0bea75a |
| files | packages/io/fileio/current/ChangeLog packages/io/fileio/current/src/select.cxx |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/fileio/current/ChangeLog +++ b/packages/io/fileio/current/ChangeLog @@ -1,3 +1,8 @@ +2004-10-01 Oyvind Harboe <oyvind.harboe@zylin.com> + + * src/select.cxx: place the CYGBLD_ATTRIB_INIT_PRI such that it + compiles for gcc 3.4.2 which is more picky about its placement. + 2004-07-23 Oyvind Harboe <oyvind.harboe@zylin.com> * src/select.cxx: now correctly returns from select() on
--- a/packages/io/fileio/current/src/select.cxx +++ b/packages/io/fileio/current/src/select.cxx @@ -97,7 +97,7 @@ static Cyg_Mutex select_mutex CYGBLD_ATT // operation. Whenever any selectable event occurs, all selecting threads // will be resumed. They must then rescan their selectees and resuspend if // necessary. -static Cyg_Condition_Variable selwait( select_mutex ) CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS); +static Cyg_Condition_Variable CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_IO_FS) selwait( select_mutex ) ; static volatile cyg_uint32 selwake_count = 0;
