* src/vm/jit/asmpart.h: Fixed extern "C".
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Tue, 26 Aug 2008 08:07:11 +0000 (10:07 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Tue, 26 Aug 2008 08:07:11 +0000 (10:07 +0200)
src/vm/jit/asmpart.h

index ecb44b785fd2b965f31466e0e213fffaca2af1b3..9ea6f4da5c97ce6efaca10364e1e50a84fb40d84 100644 (file)
 
 #include <stdint.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include "vm/types.h"
 
 #include "vm/global.h"
@@ -42,6 +38,10 @@ extern "C" {
 
 /* function prototypes ********************************************************/
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* machine dependent initialization */
 s4   asm_md_init(void);
 
@@ -111,7 +111,7 @@ void asm_escape_check(java_object_t *obj);
 #endif
 
 #ifdef __cplusplus
-}
+} // extern "C"
 #endif
 
 #endif /* _ASMPART_H */