diff 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
line wrap: on
line diff
--- a/packages/io/fileio/current/src/fio.h
+++ b/packages/io/fileio/current/src/fio.h
@@ -119,11 +119,15 @@
 
 #else
 
-#define CYG_FILEIO_SIGMASK_SET( __set, __oset ) CYG_EMPTY_STATEMENT
+#define CYG_FILEIO_SIGMASK_SET( __set, __oset ) \
+CYG_MACRO_START \
+CYG_UNUSED_PARAM( const sigset_t*, __set ); \
+CYG_UNUSED_PARAM( const sigset_t*, __oset ); \
+CYG_MACRO_END
 
 #define CYG_FILEIO_SIGPENDING() (0)
 
-#define CYG_FILEIO_DELIVER_SIGNALS( __mask ) CYG_EMPTY_STATEMENT
+#define CYG_FILEIO_DELIVER_SIGNALS( __mask ) CYG_UNUSED_PARAM( const sigset_t*, __mask )
 
 typedef int sigset_t;