diff options
| author | Tim Rogers <[email protected]> | 2013-04-23 20:33:07 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:47 -0700 |
| commit | 461575e7388064dbc06eed3e17b094655f046b6c (patch) | |
| tree | 58b93b9fd53143d3033f3c599b14ad821af22e19 /src/cuda-sim/ptx_parser.cc | |
| parent | cd7a97f045cb9bf33fcb9b8bb7b9d1e3ff5caca2 (diff) | |
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]
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() |
