From 9c3027d5858b82ebff03353955867f9770b74597 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 25 May 2015 12:19:58 -0400 Subject: [PATCH] Fix: Mark config string declarations as extern MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/common/config/config-session-abi.h | 164 ++++++++++++------------- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/src/common/config/config-session-abi.h b/src/common/config/config-session-abi.h index 0efd391d5..d19ddd362 100644 --- a/src/common/config/config-session-abi.h +++ b/src/common/config/config-session-abi.h @@ -18,94 +18,94 @@ #ifndef CONFIG_SESSION_INTERNAL_H #define CONFIG_SESSION_INTERNAL_H -const char * const config_element_channel; -const char * const config_element_channels; -const char * const config_element_domain; -const char * const config_element_domains; -const char * const config_element_event; -const char * const config_element_events; -const char * const config_element_context; -const char * const config_element_contexts; -const char * const config_element_attributes; -const char * const config_element_exclusion; -const char * const config_element_exclusions; -const char * const config_element_function_attributes; -const char * const config_element_probe_attributes; -const char * const config_element_symbol_name; -const char * const config_element_address; -const char * const config_element_offset; -const char * const config_element_name; -const char * const config_element_enabled; -const char * const config_element_overwrite_mode; -const char * const config_element_subbuf_size; -const char * const config_element_num_subbuf; -const char * const config_element_switch_timer_interval; -const char * const config_element_read_timer_interval; -const char * const config_element_output; -const char * const config_element_output_type; -const char * const config_element_tracefile_size; -const char * const config_element_tracefile_count; -const char * const config_element_live_timer_interval; -const char * const config_element_type; -const char * const config_element_buffer_type; -const char * const config_element_session; -const char * const config_element_sessions; -const char * const config_element_perf; -const char * const config_element_config; -const char * const config_element_started; -const char * const config_element_snapshot_mode; -const char * const config_element_loglevel; -const char * const config_element_loglevel_type; -const char * const config_element_filter; -const char * const config_element_snapshot_outputs; -const char * const config_element_consumer_output; -const char * const config_element_destination; -const char * const config_element_path; -const char * const config_element_net_output; -const char * const config_element_control_uri; -const char * const config_element_data_uri; -const char * const config_element_max_size; +extern const char * const config_element_channel; +extern const char * const config_element_channels; +extern const char * const config_element_domain; +extern const char * const config_element_domains; +extern const char * const config_element_event; +extern const char * const config_element_events; +extern const char * const config_element_context; +extern const char * const config_element_contexts; +extern const char * const config_element_attributes; +extern const char * const config_element_exclusion; +extern const char * const config_element_exclusions; +extern const char * const config_element_function_attributes; +extern const char * const config_element_probe_attributes; +extern const char * const config_element_symbol_name; +extern const char * const config_element_address; +extern const char * const config_element_offset; +extern const char * const config_element_name; +extern const char * const config_element_enabled; +extern const char * const config_element_overwrite_mode; +extern const char * const config_element_subbuf_size; +extern const char * const config_element_num_subbuf; +extern const char * const config_element_switch_timer_interval; +extern const char * const config_element_read_timer_interval; +extern const char * const config_element_output; +extern const char * const config_element_output_type; +extern const char * const config_element_tracefile_size; +extern const char * const config_element_tracefile_count; +extern const char * const config_element_live_timer_interval; +extern const char * const config_element_type; +extern const char * const config_element_buffer_type; +extern const char * const config_element_session; +extern const char * const config_element_sessions; +extern const char * const config_element_perf; +extern const char * const config_element_config; +extern const char * const config_element_started; +extern const char * const config_element_snapshot_mode; +extern const char * const config_element_loglevel; +extern const char * const config_element_loglevel_type; +extern const char * const config_element_filter; +extern const char * const config_element_snapshot_outputs; +extern const char * const config_element_consumer_output; +extern const char * const config_element_destination; +extern const char * const config_element_path; +extern const char * const config_element_net_output; +extern const char * const config_element_control_uri; +extern const char * const config_element_data_uri; +extern const char * const config_element_max_size; -const char * const config_domain_type_kernel; -const char * const config_domain_type_ust; -const char * const config_domain_type_jul; +extern const char * const config_domain_type_kernel; +extern const char * const config_domain_type_ust; +extern const char * const config_domain_type_jul; -const char * const config_buffer_type_per_pid; -const char * const config_buffer_type_per_uid; -const char * const config_buffer_type_global; +extern const char * const config_buffer_type_per_pid; +extern const char * const config_buffer_type_per_uid; +extern const char * const config_buffer_type_global; -const char * const config_overwrite_mode_discard; -const char * const config_overwrite_mode_overwrite; +extern const char * const config_overwrite_mode_discard; +extern const char * const config_overwrite_mode_overwrite; -const char * const config_output_type_splice; -const char * const config_output_type_mmap; +extern const char * const config_output_type_splice; +extern const char * const config_output_type_mmap; -const char * const config_loglevel_type_all; -const char * const config_loglevel_type_range; -const char * const config_loglevel_type_single; +extern const char * const config_loglevel_type_all; +extern const char * const config_loglevel_type_range; +extern const char * const config_loglevel_type_single; -const char * const config_event_type_all; -const char * const config_event_type_tracepoint; -const char * const config_event_type_probe; -const char * const config_event_type_function; -const char * const config_event_type_function_entry; -const char * const config_event_type_noop; -const char * const config_event_type_syscall; -const char * const config_event_type_kprobe; -const char * const config_event_type_kretprobe; +extern const char * const config_event_type_all; +extern const char * const config_event_type_tracepoint; +extern const char * const config_event_type_probe; +extern const char * const config_event_type_function; +extern const char * const config_event_type_function_entry; +extern const char * const config_event_type_noop; +extern const char * const config_event_type_syscall; +extern const char * const config_event_type_kprobe; +extern const char * const config_event_type_kretprobe; -const char * const config_event_context_pid; -const char * const config_event_context_procname; -const char * const config_event_context_prio; -const char * const config_event_context_nice; -const char * const config_event_context_vpid; -const char * const config_event_context_tid; -const char * const config_event_context_vtid; -const char * const config_event_context_ppid; -const char * const config_event_context_vppid; -const char * const config_event_context_pthread_id; -const char * const config_event_context_hostname; -const char * const config_event_context_ip; -const char * const config_event_context_perf_thread_counter; +extern const char * const config_event_context_pid; +extern const char * const config_event_context_procname; +extern const char * const config_event_context_prio; +extern const char * const config_event_context_nice; +extern const char * const config_event_context_vpid; +extern const char * const config_event_context_tid; +extern const char * const config_event_context_vtid; +extern const char * const config_event_context_ppid; +extern const char * const config_event_context_vppid; +extern const char * const config_event_context_pthread_id; +extern const char * const config_event_context_hostname; +extern const char * const config_event_context_ip; +extern const char * const config_event_context_perf_thread_counter; #endif /* CONFIG_SESSION_INTERNAL_H */ -- 2.34.1