From db4981628f02733128896c7e47a08158537c30e2 Mon Sep 17 00:00:00 2001 From: Carl Philipp Klemm Date: Tue, 7 May 2024 13:04:26 +0200 Subject: [PATCH] visibility attriubtes on static functions dont make any sense --- usbshm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usbshm.c b/usbshm.c index ff835bd..0f8f70c 100644 --- a/usbshm.c +++ b/usbshm.c @@ -44,7 +44,6 @@ static int object_counter = 0; static struct libusb_context* context = NULL; -__attribute__ ((visibility ("hidden"))) static int usbshm_init(struct usbshm* instance) { int ret = 0; @@ -64,7 +63,7 @@ static int usbshm_init(struct usbshm* instance) return ret < 0 ? USBSHM_ERROR_ERR : 0; } -__attribute__ ((visibility ("hidden"))) + static void usbshm_exit(void) { if(--object_counter == 0)