summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.cc
diff options
context:
space:
mode:
authorJimmy Kwa <[email protected]>2010-11-15 13:10:19 -0800
committerJimmy Kwa <[email protected]>2010-11-15 13:10:19 -0800
commita937a4b354b60999a011970d054cd6c478be130d (patch)
tree7e020bf8abe1e6e99316984da0be924396eec53e /src/cuda-sim/ptx_parser.cc
parentbf981f1c32f6248b5e3f0f5b3585fcb0e1daca61 (diff)
Cleaned up decuda_to_ptxplus code to remove compiler warnings
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8119]
Diffstat (limited to 'src/cuda-sim/ptx_parser.cc')
-rw-r--r--src/cuda-sim/ptx_parser.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cuda-sim/ptx_parser.cc b/src/cuda-sim/ptx_parser.cc
index 200c795..6564e6a 100644
--- a/src/cuda-sim/ptx_parser.cc
+++ b/src/cuda-sim/ptx_parser.cc
@@ -908,6 +908,6 @@ void target_header3(char* a, char* b, char* c)
g_global_symbol_table->set_sm_target(a,b,c);
}
-void func_header(char* a) {} //intentional dummy function
-void func_header_info(char* a) {} //intentional dummy function
-void func_header_info_int(char* a, int b) {} //intentional dummy function
+void func_header(const char* a) {} //intentional dummy function
+void func_header_info(const char* a) {} //intentional dummy function
+void func_header_info_int(const char* a, int b) {} //intentional dummy function