Parent: a9393b2e9eec078e3eb6174c3ecde27119d15adf
Author: Emil Velikov <emil.velikov@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-01-19 22:46:15
Tree: 87e9dcee3d6c4be61e3929de54da5e5a9f315686
obexd: remove obex_mime_type_driver::set_io_watch All the drivers use the default function, where the register function modifies what should be a constant vtable. Instead let's remove the indirection, export and use the function as applicable. Since we have set and reset, export both functions and cleanup the users.
Diffstat
| M | obexd/src/mimetype.c | | | 12 | ++- - - - - - - - - - |
| M | obexd/src/mimetype.h | | | 6 | ++++- - |
| M | obexd/src/obex.c | | | 12 | ++++++- - - - - - |
3 files changed, 12 insertions(+), 18 deletions(-)