Commit: cfab569484b18407fc117bb96634525cc76ea1f5
Parent: 9f09e69ecb077082301dafb745856e1f3731aaa7
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-01-06 22:58:39
Tree: 754ec37148cc95958f1657e25768ad69565ebf23

build: Replace use of g_memdup with util_memdup This replaces the uses of g_memdup with util_memdup since the former has been deprecated: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] g_memdup2 requires bumping glib version which would likely have its own problems thus why util_memdup was introduced.

Diffstat

M Makefile.am | 10 +++++- - - - -
M Makefile.obexd | 1 +
M Makefile.tools | 11 +++++++- - - -
M android/a2dp.c | 9 +++++- - - -
M android/avctp.c | 5 +++- -
M android/avrcp-lib.c | 2 +-
M android/gatt.c | 5 +++- -
M android/hidhost.c | 3 ++-
M android/tester-main.c | 77 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M attrib/gatt.c | 12 ++++++- - - - - -
M client/gatt.c | 2 +-
M gobex/gobex-header.c | 7 ++++- - -
M gobex/gobex-packet.c | 5 +++- -
M obexd/src/obex.c | 5 +++- -
M plugins/neard.c | 9 +++++- - - -
M plugins/policy.c | 7 ++++- - -
M profiles/audio/avctp.c | 9 +++++- - - -
M profiles/audio/avrcp.c | 10 +++++- - - - -
M profiles/battery/bas.c | 4 ++- -
M profiles/battery/battery.c | 4 ++- -
M profiles/deviceinfo/dis.c | 4 ++- -
M profiles/input/hog-lib.c | 12 ++++++- - - - - -
M profiles/scanparam/scpp.c | 4 ++- -
M src/eir.c | 8 ++++- - - -
M tools/gatt-service.c | 15 ++++++++- - - - - - -
M tools/mesh-gatt/gatt.c | 5 +++- -
M unit/test-avctp.c | 4 ++- -
M unit/test-avdtp.c | 6 +++- - -
M unit/test-avrcp.c | 10 +++++- - - - -
M unit/test-gatt.c | 4 ++- -
M unit/test-hfp.c | 11 ++++++- - - - -
M unit/test-hog.c | 26 +++++++++++++- - - - - - - - - - - - -
M unit/test-sdp.c | 10 ++++++- - - -
M unit/test-uhid.c | 2 +-

34 files changed, 172 insertions(+), 146 deletions(-)

View Full Diff | Patch