mariadb/storage/perfschema
Davi Arnaut a8c288054e Bug#53445: Build with -Wall and fix warnings that it generates
Fix various mismatches between function's language linkage. Any
particular function that is declared in C++ but should be callable
from C must have C linkage. Note that function types with different
linkages are also distinct. Thus, if a function type is declared in
C code, it will have C linkage (same if declared in a extern "C"
block).

client/mysql.cc:
  Mismatch between prototype and declaration.
client/mysqltest.cc:
  mysqltest used to be C code. Use C linkage where appropriate.
cmd-line-utils/readline/input.c:
  Isolate unreachable code.
include/my_alloc.h:
  Function type must have C linkage.
include/my_base.h:
  Function type must have C linkage.
include/my_global.h:
  Add helper macros to avoid spurious namespace indentation.
include/mysql.h.pp:
  Update ABI file.
mysys/my_gethwaddr.c:
  Remove stray carriage return and fix coding style.
plugin/semisync/semisync_master_plugin.cc:
  Callback function types have C linkage.
plugin/semisync/semisync_slave_plugin.cc:
  Callback function types have C linkage.
sql/derror.cc:
  Expected function type has C linkage.
sql/field.cc:
  Use helper macro and fix indentation.
sql/handler.cc:
  Expected function type has C linkage.
sql/item_sum.cc:
  Correct function linkages. Remove now unnecessary cast.
sql/item_sum.h:
  Add prototypes with the appropriate linkage as otherwise they
  are distinct.
sql/mysqld.cc:
  Wrap functions in C linkage mode.
sql/opt_range.cc:
  C language linkage is ignored for class member functions.
sql/partition_info.cc:
  Add wrapper functions with C linkage for class member functions.
sql/rpl_utility.h:
  Use helper macro and fix indentation.
sql/sql_class.cc:
  Change type of thd argument -- THD is a class.
  Use helper macro and fix indentation.
sql/sql_class.h:
  Change type of thd argument -- THD is a class.
sql/sql_select.cc:
  Expected function type has C linkage.
sql/sql_select.h:
  Move prototype to sql_test.h
sql/sql_show.cc:
  Expected function type has C linkage.
sql/sql_test.cc:
  Fix required function prototype and fix coding style.
sql/sql_test.h:
  Removed unnecessary export and add another.
storage/myisammrg/ha_myisammrg.cc:
  Expected function type has C linkage.
storage/perfschema/pfs.cc:
  PSI headers are declared with C language linkage, which also
  applies to function types.
2010-05-31 12:29:54 -03:00
..
unittest Fix perfschema unittests build on Windows 2010-04-13 13:48:46 +02:00
CMakeLists.txt Cleanup casing in MYSQL_ADD_PLUGIN, patch provided by Kent 2010-02-01 23:46:02 +01:00
ha_perfschema.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
ha_perfschema.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
Makefile.am WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs.cc Bug#53445: Build with -Wall and fix warnings that it generates 2010-05-31 12:29:54 -03:00
pfs.h WL#5030: Splitting mysql_priv.h 2010-04-06 16:08:51 +02:00
pfs_atomic.cc WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_atomic.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_check.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
pfs_column_types.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_column_values.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
pfs_column_values.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
pfs_engine_table.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
pfs_engine_table.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
pfs_events_waits.cc WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_events_waits.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_global.cc WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_global.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_instr.cc Bug#53445: Build with -Wall and fix warnings that it generates 2010-05-31 12:29:54 -03:00
pfs_instr.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
pfs_instr_class.cc Bug#53445: Build with -Wall and fix warnings that it generates 2010-05-31 12:29:54 -03:00
pfs_instr_class.h WL#5030: Splitting mysql_priv.h 2010-04-06 16:08:51 +02:00
pfs_lock.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_server.cc Bug#53445: Build with -Wall and fix warnings that it generates 2010-05-31 12:29:54 -03:00
pfs_server.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_stat.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_timer.cc WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
pfs_timer.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
plug.in WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_all_instr.cc WL#5030: Splitting mysql_priv.h 2010-04-06 23:00:01 +02:00
table_all_instr.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_events_waits.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_events_waits.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_events_waits_summary.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_events_waits_summary.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_file_instances.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_file_instances.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_file_summary.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_file_summary.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_performance_timers.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_performance_timers.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_processlist.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_processlist.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_setup_consumers.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_setup_consumers.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_setup_instruments.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_setup_instruments.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_setup_objects.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_setup_objects.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_setup_timers.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_setup_timers.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
table_sync_instances.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table_sync_instances.h WL#2360 Performance schema 2010-01-11 18:47:27 -07:00