From 30998baf652d4e66a92cd912519f9358be2cf628 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 14 Mar 2011 12:16:51 +0100 Subject: Set warning handler --- pcilib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcilib.h') diff --git a/pcilib.h b/pcilib.h index b1288a8..7924128 100644 --- a/pcilib.h +++ b/pcilib.h @@ -103,7 +103,7 @@ typedef struct { extern pcilib_model_description_t pcilib_model[]; #endif /* ! _PCILIB_PCI_C */ -int pcilib_set_error_handler(void (*err)(const char *msg, ...)); +int pcilib_set_error_handler(void (*err)(const char *msg, ...), void (*warn)(const char *msg, ...)); pcilib_model_t pcilib_get_model(pcilib_t *ctx); -- cgit v1.2.3