mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-10 11:10:03 +00:00
fix(nimble) Address compilation errors when strict-prototype is enabled
This commit is contained in:
@@ -36,10 +36,10 @@ struct ble_hs_cfg;
|
||||
#if MYNEWT_VAL(BLE_GATT_CACHING)
|
||||
#define BLE_SVC_GATT_CHR_DATABASE_HASH_UUID16 0x2b2a
|
||||
|
||||
uint16_t ble_svc_gatt_changed_handle();
|
||||
uint16_t ble_svc_gatt_hash_handle();
|
||||
uint16_t ble_svc_gatt_csf_handle();
|
||||
uint8_t ble_svc_gatt_get_csfs();
|
||||
uint16_t ble_svc_gatt_changed_handle(void);
|
||||
uint16_t ble_svc_gatt_hash_handle(void);
|
||||
uint16_t ble_svc_gatt_csf_handle(void);
|
||||
uint8_t ble_svc_gatt_get_csfs(void);
|
||||
#endif
|
||||
|
||||
uint8_t ble_svc_gatt_get_local_cl_supported_feat(void);
|
||||
|
||||
@@ -104,9 +104,9 @@ struct ble_svc_hid_params{
|
||||
uint16_t ctrl_pt_handle;
|
||||
};
|
||||
|
||||
void ble_svc_hid_init();
|
||||
void ble_svc_hid_init(void);
|
||||
int ble_svc_hid_add(struct ble_svc_hid_params params);
|
||||
void ble_svc_hid_reset();
|
||||
void ble_svc_hid_reset(void);
|
||||
|
||||
#endif
|
||||
#endif // CONFIG_BT_NIMBLE_HID_SERVICE
|
||||
|
||||
Reference in New Issue
Block a user