OSDN Git Service

Move extern "C" to top of headers and remove tBTA_HF_CLIENT_HDR.
authorBryce Lee <brycelee@google.com>
Wed, 11 May 2016 00:10:09 +0000 (17:10 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 11 May 2016 18:17:24 +0000 (18:17 +0000)
commit3d6accfcc0bdc5c7a8713320c9bb069cbf253348
tree791a23ece681184d98dc30e08f1c95d4682e7989
parent9376f7797412447a7a00aabafafc53f06232405f
Move extern "C" to top of headers and remove tBTA_HF_CLIENT_HDR.

Previously, extern "C" was placed in various locations within the header
files, sometimes below actual struct declarations. Doing so would lead to
alignment issues between C and C++ code.

tBTA_HF_CLIENT_HDR was removed from bta_hf_client_api since it was
extraneous and empty - leading to alignment issues.

Change-Id: Icdd338f1affe4c3a70c7bbd716249be6a16443d2
54 files changed:
bta/hl/bta_hl_int.h
bta/include/bta_ag_api.h
bta/include/bta_api.h
bta/include/bta_av_api.h
bta/include/bta_gatt_api.h
bta/include/bta_hf_client_api.h
bta/include/bta_hh_api.h
bta/include/bta_hl_api.h
bta/include/bta_mce_api.h
bta/include/bta_pan_api.h
bta/include/bta_sdp_api.h
bta/include/utl.h
bta/sys/bta_sys.h
btif/include/btif_avrcp_audio_track.h
btif/src/btif_core.cc
main/bte_main.c
stack/a2dp/a2d_int.h
stack/avct/avct_int.h
stack/avdt/avdt_int.h
stack/avrc/avrc_int.h
stack/bnep/bnep_int.h
stack/btm/btm_ble_int.h
stack/btm/btm_int.h
stack/gatt/gatt_int.h
stack/hid/hidh_int.h
stack/include/a2d_api.h
stack/include/a2d_sbc.h
stack/include/avct_api.h
stack/include/avdt_api.h
stack/include/avdtc_api.h
stack/include/avrc_api.h
stack/include/bnep_api.h
stack/include/btm_api.h
stack/include/btm_ble_api.h
stack/include/btu.h
stack/include/gatt_api.h
stack/include/hidh_api.h
stack/include/l2c_api.h
stack/include/pan_api.h
stack/include/port_api.h
stack/include/smp_api.h
stack/include/srvc_api.h
stack/l2cap/l2c_int.h
stack/mcap/mca_int.h
stack/pan/pan_int.h
stack/rfcomm/port_int.h
stack/rfcomm/rfc_int.h
stack/sdp/sdpint.h
stack/smp/smp_int.h
stack/srvc/srvc_battery_int.h
stack/srvc/srvc_dis_int.h
stack/srvc/srvc_eng_int.h
udrv/ulinux/uipc_linux.h
vnd/include/vendor_api.h