Fix compiler warning

pkcs15-pubkey.c:787:5: warning: no previous prototype for function
      'sc_pkcs15_read_der_file' [-Wmissing-prototypes]
int sc_pkcs15_read_der_file(sc_context_t *ctx, char * filename,
    ^


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5131 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
ludovic.rousseau 2011-02-05 17:05:33 +00:00
parent c17eb11d41
commit e2bd5b1cc6
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ void sc_pkcs15_free_pubkey_info(sc_pkcs15_pubkey_info_t *key)
free(key);
}
int sc_pkcs15_read_der_file(sc_context_t *ctx, char * filename,
static int sc_pkcs15_read_der_file(sc_context_t *ctx, char * filename,
u8 ** buf, size_t * buflen)
{
int r;