[Opencryptoki-tech] [PATCH] ep11 token: fix wrong declared inline function
Brought to you by:
ebarretto
|
From: Harald F. <fr...@li...> - 2017-04-03 18:43:15
|
When a debug build is done the hexdump function may produce
an build error as this function is inline but not static declared.
Fixed by adding the static keyword.
Signed-off-by: Harald Freudenberger <fr...@li...>
---
usr/lib/pkcs11/ep11_stdll/ep11_specific.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
index 876ad1b..df7822e 100644
--- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
+++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
@@ -112,7 +112,7 @@ static m_shutdown_t dll_m_shutdown;
#ifdef DEBUG
/* a simple function for dumping out a memory area */
-inline void hexdump(void *buf, size_t buflen)
+static inline void hexdump(void *buf, size_t buflen)
{
/* 1 2 3 4 5 6
0123456789012345678901234567890123456789012345678901234567890123456789
--
2.7.4
|