Reduces compilation warnings

pull/8/head
Olivier Martin 2017-01-30 11:52:54 +01:00
parent 7f32f5c346
commit 9c7382b215
6 changed files with 12 additions and 4 deletions

View File

@ -3,6 +3,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <sys/queue.h>
#include <unistd.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>

View File

@ -21,6 +21,8 @@
*
*/
#include <readline/readline.h>
void notification_handler(uint16_t handle, const uint8_t* data, size_t data_length, void* user_data);
void indication_handler(uint16_t handle, const uint8_t* data, size_t data_length, void* user_data);

View File

@ -2,7 +2,7 @@
*
* GattLib - GATT Library
*
* Copyright (C) 2016 Olivier Martin <olivier@labapart.org>
* Copyright (C) 2016-2017 Olivier Martin <olivier@labapart.org>
*
*
* This program is free software; you can redistribute it and/or modify
@ -23,6 +23,7 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "gattlib.h"

View File

@ -2,7 +2,7 @@
*
* GattLib - GATT Library
*
* Copyright (C) 2016 Olivier Martin <olivier@labapart.org>
* Copyright (C) 2016-2017 Olivier Martin <olivier@labapart.org>
*
*
* This program is free software; you can redistribute it and/or modify

View File

@ -2,7 +2,7 @@
*
* GattLib - GATT Library
*
* Copyright (C) 2016 Olivier Martin <olivier@labapart.org>
* Copyright (C) 2016-2017 Olivier Martin <olivier@labapart.org>
*
*
* This program is free software; you can redistribute it and/or modify
@ -34,6 +34,8 @@
#include "att.h"
#include "btio.h"
#include "gattrib.h"
#include "hci.h"
#include "hci_lib.h"
#define CONNECTION_TIMEOUT 2

View File

@ -2,7 +2,7 @@
*
* GattLib - GATT Library
*
* Copyright (C) 2016 Olivier Martin <olivier@labapart.org>
* Copyright (C) 2016-2017 Olivier Martin <olivier@labapart.org>
*
*
* This program is free software; you can redistribute it and/or modify
@ -26,6 +26,8 @@
#include "gattlib_internal.h"
#include "att.h"
#include "gattrib.h"
#include "gatt.h"
struct gattlib_result_read_uuid_t {
void* buffer;