From 82592e4cb4e54b49c32463707a1d30bbea019576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Thu, 9 Oct 2014 17:54:33 +0000 Subject: [PATCH] fixed function prototype for pci_hook_interrupt() --- BaS_gcc/include/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaS_gcc/include/pci.h b/BaS_gcc/include/pci.h index d7ee070..32756a8 100644 --- a/BaS_gcc/include/pci.h +++ b/BaS_gcc/include/pci.h @@ -252,7 +252,7 @@ extern int32_t pci_write_config_byte(int32_t handle, int offset, uint8_t value); typedef int (*pci_interrupt_handler)(int param); -extern int32_t pci_hook_interrupt(int32_t handle, pci_interrupt_handler handler, void *parameter); +extern int32_t pci_hook_interrupt(int32_t handle, void *handler, void *parameter); extern int32_t pci_unhook_interrupt(int32_t handle); extern struct pci_rd *pci_get_resource(int32_t handle);