On 21/06/07, webmaster opensc-project.org <webmaster opensc-project.org> wrote:
> Revision: 3183
> Author: aj
> Date: 2007-06-21 12:58:57 +0000 (Thu, 21 Jun 2007)
>
> Log Message:
> -----------
> silence more warnings.
You may have less warnings but now more errors
For example:
pkcs15-crypt.c:40: error: static declaration of 'app_name'
follows
non-static declaration
util.h:28: error: previous declaration of 'app_name' was
here
util.h has:
extern const char *app_name;
and pkcs15-crypt.c has:
#include "util.h"
static const char *app_name = "pkcs15-crypt";
You can't have a variable declared static if you also want
to use it
from another source file. app_name is also used by util.c
I include a patch.
bye
--
Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel
|