Change-Id: Ib8d6e774f9526cf21db1d9de1d26b4dabd0bf9a9
Signed-off-by: himanshu <h.himanshu@samsung.com>
#include <config.h>
#endif
-#define _GNU_SOURCE
-
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#endif
struct a2dp_channel *chan = find_channel(session);
- struct queue *seps;
+ struct queue *seps = NULL;
for (; list; list = list->next) {
struct a2dp_sep *sep = list->data;
const char *sender)
{
struct a2dp_server *server;
- struct a2dp_sep *seps;
+ struct queue *seps;
GSList *l;
server = find_server(servers, avdtp_get_adapter(session));
mainloop_run_with_signal(signal_callback, NULL);
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
- sd_notify(0, "STOPPING=1");
+ mainloop_sd_notify("STOPPING=1");
#endif
mainloop_sd_notify("STATUS=Quitting");
bt_shell_prompt_input_func func, void *user_data)
{
char *str;
- int err;
if (!data.init || data.mode)
return;