diff options
author | Pedro Alves <palves@redhat.com> | 2012-03-01 21:14:00 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-03-01 21:14:00 +0000 |
commit | 70221824e31ba9c4e8cc710f11c986c37c947310 (patch) | |
tree | cd263f2e29ae032c32defaac193a3f38629b8a90 /gdb/opencl-lang.c | |
parent | 33fbcbee30e6565db27a4c5076ff61c9fc8e0744 (diff) | |
download | gdb-70221824e31ba9c4e8cc710f11c986c37c947310.zip gdb-70221824e31ba9c4e8cc710f11c986c37c947310.tar.gz gdb-70221824e31ba9c4e8cc710f11c986c37c947310.tar.bz2 |
2012-03-01 Pedro Alves <palves@redhat.com>
* amd64-linux-tdep.c (amd64_linux_record_signal): Make static.
* breakpoint.c (create_exception_master_breakpoint, trace_command)
(ftrace_command, strace_command): Make static.
* d-lang.c (_initialize_d_language): Declare.
* dwarf2expr.c (_initialize_dwarf2expr): Declare.
* dwarf2loc.c (_initialize_dwarf2loc):
* dwarf2read.c (process_psymtab_comp_unit): Make static.
* exec.c (exec_get_section_table): Make static.
* i386-linux-tdep.c (i386_linux_record_signal): Make static.
* infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static.
* inferior.c (remove_inferior_command, add_inferior_command)
(clone_inferior_command): Make static.
* linux-nat.c (linux_nat_thread_address_space)
(linux_nat_core_of_thread): Make static.
* linux-tdep.c (_initialize_linux_tdep): Declare.
* objc-lang.c (_initialize_objc_lang): Declare.
* opencl-lang.c (builtin_opencl_type, opencl_language_arch_info):
Make static.
(_initialize_opencl_language): Declare.
* record.c (_initialize_record): Declare.
* remote.c (demand_private_info, remote_get_tib_address)
(remote_supports_cond_tracepoints)
(remote_supports_fast_tracepoints, remote_get_tracepoint_status):
Make static.
* skip.c (_initialize_step_skip): Declare.
* symtab.c (skip_prologue_using_lineinfo): Make static.
* tracepoint.c (delete_trace_state_variable)
(trace_variable_command, delete_trace_variable_command)
(get_uploaded_tsv, find_matching_tracepoint_location)
(find_matching_tsv, create_tsv_from_upload, get_traceframe_info):
Make static.
* value.c (pack_unsigned_long): Make static.
* varobj.c (varobj_ensure_python_env): Make static.
* windows-tdep.c (_initialize_windows_tdep): Declare.
* xml-syscall.c (make_cleanup_free_syscalls_info): Make static.
Diffstat (limited to 'gdb/opencl-lang.c')
-rw-r--r-- | gdb/opencl-lang.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c index 80f978c..3554d18 100644 --- a/gdb/opencl-lang.c +++ b/gdb/opencl-lang.c @@ -68,7 +68,7 @@ enum opencl_primitive_types { static struct gdbarch_data *opencl_type_data; -struct type ** +static struct type ** builtin_opencl_type (struct gdbarch *gdbarch) { return gdbarch_data (gdbarch, opencl_type_data); @@ -961,7 +961,7 @@ Cannot perform conditional operation on vectors with different sizes")); return evaluate_subexp_c (expect_type, exp, pos, noside); } -void +static void opencl_language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) { @@ -1116,6 +1116,9 @@ build_opencl_types (struct gdbarch *gdbarch) return types; } +/* Provide a prototype to silence -Wmissing-prototypes. */ +extern initialize_file_ftype _initialize_opencl_language; + void _initialize_opencl_language (void) { |