[linux-nfc] [neard][PATCH v2 17/73] se: fix multiple apdu definitions

Krzysztof Kozlowski <[email protected]> Mon, 19 Jul 2021 13:07:23 +0200
Newsgroups org.01.lists.linux-nfc,dev.linux.lists.oe-linux-nfc
Message-ID <[email protected]>
Fixes:

    /usr/bin/ld: se/seeld-manager.o:se/seel.h:31: multiple definition of `apdu'; se/seeld-main.o:se/seel.h:31: first defined here
    /usr/bin/ld: se/seeld-se.o:se/seel.h:31: multiple definition of `apdu'; se/seeld-main.o:se/seel.h:31: first defined here
    /usr/bin/ld: se/seeld-driver.o:se/seel.h:31: multiple definition of `apdu'; se/seeld-main.o:se/seel.h:31: first defined here
    /usr/bin/ld: se/seeld-apdu.o:se/seel.h:31: multiple definition of `apdu'; se/seeld-main.o:se/seel.h:31: first defined here
    /usr/bin/ld: se/seeld-channel.o:se/seel.h:31: multiple definition of `apdu'; se/seeld-main.o:se/seel.h:31: first defined here
    /usr/bin/ld: se/seeld-ace.o:se/seel.h:31: multiple definition of `apdu'; se/seeld-main.o:se/seel.h:31: first defined here

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
 se/seel.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/se/seel.h b/se/seel.h
index 24cd0011ffb7..ea89e1519764 100644
--- a/se/seel.h
+++ b/se/seel.h
@@ -28,7 +28,7 @@
 struct seel_se;
 struct seel_channel;
 struct seel_ace;
-struct seel_apdu *apdu;
+struct seel_apdu;
 
 int __seel_manager_init(DBusConnection *conn);
 void __seel_manager_cleanup(void);
-- 
2.27.0
_______________________________________________
Linux-nfc mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s