[PATCH] Fix implicit declaration in Engine_pkcs11 0.1.7

View: New views
2 Messages — Rating Filter:   Alert me  

[PATCH] Fix implicit declaration in Engine_pkcs11 0.1.7

by Arfrever Frehtes Taifersar Arahesis-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm attaching the patch which fixes the following warning:

hw_pkcs11.c: In function ‘pkcs11_engine_ctrl’:
hw_pkcs11.c:146: warning: implicit declaration of function ‘set_init_args’

--
Arfrever Frehtes Taifersar Arahesis

[engine_pkcs11-0.1.7-fix_implicit_declaration.patch]

--- src/engine_pkcs11.h
+++ src/engine_pkcs11.h
@@ -37,6 +37,8 @@
 
 int set_pin(const char *pin);
 
+int set_init_args(const char *init_args_orig);
+
 int load_cert_ctrl(ENGINE * e, void *p);
 
 int inc_verbose(void);



_______________________________________________
opensc-devel mailing list
opensc-devel@...
http://www.opensc-project.org/mailman/listinfo/opensc-devel

signature.asc (205 bytes) Download Attachment

Re: [PATCH] Fix implicit declaration in Engine_pkcs11 0.1.7

by Andreas Jellinghaus-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Samstag 24 Oktober 2009 03:17:16 schrieb Arfrever Frehtes Taifersar
Arahesis:
> I'm attaching the patch which fixes the following warning:
>
> hw_pkcs11.c: In function ‘pkcs11_engine_ctrl’:
> hw_pkcs11.c:146: warning: implicit declaration of function ‘set_init_args’

thanks, applied!

Regards, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devel@...
http://www.opensc-project.org/mailman/listinfo/opensc-devel