summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_loader.cc
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2013-04-23 20:33:07 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:47 -0700
commit461575e7388064dbc06eed3e17b094655f046b6c (patch)
tree58b93b9fd53143d3033f3c599b14ad821af22e19 /src/cuda-sim/ptx_loader.cc
parentcd7a97f045cb9bf33fcb9b8bb7b9d1e3ff5caca2 (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_loader.cc')
-rw-r--r--src/cuda-sim/ptx_loader.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cuda-sim/ptx_loader.cc b/src/cuda-sim/ptx_loader.cc
index 56b9449..4ed57da 100644
--- a/src/cuda-sim/ptx_loader.cc
+++ b/src/cuda-sim/ptx_loader.cc
@@ -43,13 +43,13 @@ bool g_override_embedded_ptx = false;
/// extern prototypes
-extern "C" int ptx_parse();
-extern "C" int ptx__scan_string(const char*);
+extern int ptx_parse();
+extern int ptx__scan_string(const char*);
const char *g_ptxinfo_filename;
-extern "C" int ptxinfo_parse();
-extern "C" int ptxinfo_debug;
-extern "C" FILE *ptxinfo_in;
+extern int ptxinfo_parse();
+extern int ptxinfo_debug;
+extern FILE *ptxinfo_in;
static bool g_save_embedded_ptx;
bool g_keep_intermediate_files;