patch-2.4.4 linux/include/asm-ia64/sn/ioerror.h

Next file: linux/include/asm-ia64/sn/ioerror_handling.h
Previous file: linux/include/asm-ia64/sn/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/include/asm-ia64/sn/ioerror.h linux/include/asm-ia64/sn/ioerror.h
@@ -10,6 +10,7 @@
 #ifndef _ASM_SN_IOERROR_H
 #define _ASM_SN_IOERROR_H
 
+#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
 
 /*
  * Macros defining the various Errors to be handled as part of
@@ -177,6 +178,7 @@
     MODE_DEVREENABLE		/* Reenable pass                */
 } ioerror_mode_t;
 
+#endif				/* C || C++ */
 
 typedef int             error_handler_f(void *, int, ioerror_mode_t, ioerror_t *);
 typedef void           *error_handler_arg_t;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)