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.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cuda-sim/ptx_parser.cc') diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc index a02832d..6e02a54 100644 --- a/src/cuda-sim/ptx_parser.cc +++ b/src/cuda-sim/ptx_parser.cc @@ -30,7 +30,7 @@ #include "ptx.tab.h" #include -extern "C" int ptx_error( const char *s ); +extern int ptx_error( const char *s ); extern int ptx_lineno; static const struct core_config *g_shader_core_config; @@ -240,7 +240,7 @@ void parse_assert_impl( int test_value, const char *file, unsigned line, const c parse_error_impl(file,line, msg); } -extern "C" char linebuf[1024]; +extern char linebuf[1024]; void set_return() -- cgit v1.3