Fix bug - move _available_funcs to source code form header. 98/223498/2 submit/tizen/20200131.025416
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 30 Jan 2020 08:50:09 +0000 (17:50 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Thu, 30 Jan 2020 08:54:41 +0000 (17:54 +0900)
commit9a571b90e16b68fdbe2cdcb7ec3ca6e14a1b8b3b
tree4c43ec5a138b1944623b4c2d1b1445288fce7705
parent1c426172aa3a5047914ee14bb0ade36bff0e6826
Fix bug - move _available_funcs to source code form header.

The _available_funcs is in header and static type.
So, _Available_funcs variables are created for all sources that include the header.
In this case, usb_cfs_clinet-common.c, usb_client_common.c and usb_gadget_common.c make its own static variable.

Change-Id: I29d2bb9d8543dafd049bbb9145fc9e4e14c13394
hw/usb_gadget.h
hw/usb_gadget_common.c
unittest/device_haltests.cpp