capi2032: Fix non-ANSI function declaration. Found by sparse.
This commit is contained in:
parent
30f67b1534
commit
51cc433cc8
|
@ -60,7 +60,7 @@ static unsigned char *(*pcapi20_get_manufacturer)(unsigned, unsigned char *) = N
|
||||||
static unsigned char *(*pcapi20_get_serial_number)(unsigned, unsigned char *) = NULL;
|
static unsigned char *(*pcapi20_get_serial_number)(unsigned, unsigned char *) = NULL;
|
||||||
static unsigned char *(*pcapi20_get_version)(unsigned, unsigned char *) = NULL;
|
static unsigned char *(*pcapi20_get_version)(unsigned, unsigned char *) = NULL;
|
||||||
|
|
||||||
static void load_functions() {
|
static void load_functions(void) {
|
||||||
void *capi_handle = NULL;
|
void *capi_handle = NULL;
|
||||||
|
|
||||||
if (pcapi20_register) /* loaded already */
|
if (pcapi20_register) /* loaded already */
|
||||||
|
|
Loading…
Reference in New Issue