comparison packages/io/fileio/current/src/fio.h @ 1544:0071b7b58596

* src/fio.h: If no POSIX then CYG_FILEIO_DELIVER_SIGNALS and CYG_FILEIO_SIGMASK_SET call CYG_UNUSED_PARAM on their arguments to silence warnings. * src/file.cxx (rename): Use a throw specifier to match prototype.
author jlarmour
date Mon, 15 Mar 2004 15:41:35 +0000
parents 244c4e8297c2
children
comparison
equal deleted inserted replaced
1543:8e86927fb409 1544:0071b7b58596
117 #define CYG_FILEIO_DELIVER_SIGNALS( __mask ) \ 117 #define CYG_FILEIO_DELIVER_SIGNALS( __mask ) \
118 CYG_POSIX_DELIVER_SIGNALS( __mask ) 118 CYG_POSIX_DELIVER_SIGNALS( __mask )
119 119
120 #else 120 #else
121 121
122 #define CYG_FILEIO_SIGMASK_SET( __set, __oset ) CYG_EMPTY_STATEMENT 122 #define CYG_FILEIO_SIGMASK_SET( __set, __oset ) \
123 CYG_MACRO_START \
124 CYG_UNUSED_PARAM( const sigset_t*, __set ); \
125 CYG_UNUSED_PARAM( const sigset_t*, __oset ); \
126 CYG_MACRO_END
123 127
124 #define CYG_FILEIO_SIGPENDING() (0) 128 #define CYG_FILEIO_SIGPENDING() (0)
125 129
126 #define CYG_FILEIO_DELIVER_SIGNALS( __mask ) CYG_EMPTY_STATEMENT 130 #define CYG_FILEIO_DELIVER_SIGNALS( __mask ) CYG_UNUSED_PARAM( const sigset_t*, __mask )
127 131
128 typedef int sigset_t; 132 typedef int sigset_t;
129 133
130 #endif 134 #endif
131 135