diff options
Diffstat (limited to 'src/cuda-sim/ptx_parser.cc')
| -rw-r--r-- | src/cuda-sim/ptx_parser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdarg.h> -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() |
