Ludovic Rousseau wrote:
>> --- trunk/src/pkcs11/hack-enabled.c     2007-06-21 13:46:08 UTC (rev
>> 3188)
>> +++ trunk/src/pkcs11/hack-enabled.c     2007-06-21 13:58:38 UTC (rev
>> 3189) @@ -1 +1,2 @@
>> +extern int hack_enabled;
>>  int hack_enabled = 1;
> 
> What is this patch supposed to do?
> 
> We already have:
>   extern int hack_enabled;
> in framework-pkcs15.c and that should be enough.

silence a warning from sparse. if it sees a global variable or function
without a prior definition it suggests to make that static unless it
already is. 

Andreas

_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to