[PATCH 4/5] staging: comedi: remove __cplusplus check

Shawn Bohrer shawn.bohrer at gmail.com
Sun Oct 18 20:32:18 UTC 2009


c++ isn't supported in the kernel.

Signed-off-by: Shawn Bohrer <shawn.bohrer at gmail.com>
---
 drivers/staging/comedi/comedi.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
index 957b640..ccc5cdc 100644
--- a/drivers/staging/comedi/comedi.h
+++ b/drivers/staging/comedi/comedi.h
@@ -24,10 +24,6 @@
 #ifndef _COMEDI_H
 #define _COMEDI_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #define COMEDI_MAJORVERSION	0
 #define COMEDI_MINORVERSION	7
 #define COMEDI_MICROVERSION	76
@@ -871,8 +867,4 @@ INSN_CONFIG_ARM */
 		AMPLC_DIO_GAT_RESERVED7
 	};
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* _COMEDI_H */
-- 
1.6.5




More information about the devel mailing list