OSDN Git Service

GKI task entry points should have a consistent signature.
authorSharvil Nanavati <sharvil@google.com>
Sun, 7 Sep 2014 09:48:19 +0000 (02:48 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 16 Mar 2015 23:51:33 +0000 (16:51 -0700)
commit8d9d02862b1e00d27681846e3de9c4cf4f6634fc
tree97351a450dfa145073f3f6d9a14f4f99eac3ef06
parente2a05e6df9b709a6f63e55e1365be70e58329626
GKI task entry points should have a consistent signature.

Previously, GKI task entry points had inconsistent signatures. For
example, we had:

int btif_media_task(void *p)
void btif_task(UINT32 params)
void btu_task (UINT32 param)

The single argument was universally ignored and the caller always
set it to 0. This change consolidates all of that and defines the
entry point as having 0 arity and no return value.
btif/include/btif_media.h
btif/src/btif_core.c
btif/src/btif_media_task.c
gki/common/gki.h
gki/ulinux/gki_ulinux.c
stack/btu/btu_task.c
stack/include/btu.h