Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
libusbgx
cleanup-return-void.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cleanup-return-void.patch of Package libusbgx
From 39dfabd1be5c7a30f9400751ee9b018192bc3d72 Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak <k.opasiak@samsung.com> Date: Mon, 25 Jan 2016 16:35:26 +0100 Subject: [PATCH] libusbgx: Make usbg_cleanup_function() return void Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> --- include/usbg/usbg_internal.h | 2 +- src/usbg_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/usbg/usbg_internal.h b/include/usbg/usbg_internal.h index 48c798c..08a8852 100644 --- a/include/usbg/usbg_internal.h +++ b/include/usbg/usbg_internal.h @@ -268,7 +268,7 @@ int usbg_init_function(struct usbg_function *f, const char *path, struct usbg_gadget *parent); -int usbg_cleanup_function(struct usbg_function *f); +void usbg_cleanup_function(struct usbg_function *f); #define GENERIC_ALLOC_INST(prefix, _type, _member) \ static int prefix##_alloc_inst(struct usbg_function_type *type, \ diff --git a/src/usbg_common.c b/src/usbg_common.c index 00f8fc0..a282ef0 100644 --- a/src/usbg_common.c +++ b/src/usbg_common.c @@ -456,7 +456,7 @@ int usbg_set_config_node_ether_addr(config_setting_t *root, return usbg_set_config_node_string(root, node_name, &ptr); } -int usbg_cleanup_function(struct usbg_function *f) +void usbg_cleanup_function(struct usbg_function *f) { free(f->path); free(f->name);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor