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 <[email protected]>
---
 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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to