From 461575e7388064dbc06eed3e17b094655f046b6c Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 23 Apr 2013 20:33:07 -0800 Subject: Removing a slew of code still compiled with gcc and the need for a bunch of external C linkage [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15912] --- src/cuda-sim/ptx_parser.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/cuda-sim/ptx_parser.h') diff --git a/src/cuda-sim/ptx_parser.h b/src/cuda-sim/ptx_parser.h index 7405dd3..fef7635 100644 --- a/src/cuda-sim/ptx_parser.h +++ b/src/cuda-sim/ptx_parser.h @@ -35,7 +35,6 @@ extern int g_error_detected; #ifdef __cplusplus class symbol_table* init_parser(const char*); const class ptx_instruction *ptx_instruction_lookup( const char *filename, unsigned linenumber ); -extern "C" { #endif const char *decode_token( int type ); @@ -94,9 +93,6 @@ void change_double_operand_type( int addr_type ); void change_operand_neg( ); void set_immediate_operand_type( ); void version_header(double a); -#ifdef __cplusplus -} -#endif #define NON_ARRAY_IDENTIFIER 1 #define ARRAY_IDENTIFIER_NO_DIM 2 -- cgit v1.3