]> git.ipfire.org Git - thirdparty/pciutils.git/commit
pci.h: The error callback is now declared with PCI_NONRET
authorMartin Mares <mj@ucw.cz>
Fri, 21 Jan 2022 13:09:16 +0000 (14:09 +0100)
committerMartin Mares <mj@ucw.cz>
Fri, 21 Jan 2022 13:09:16 +0000 (14:09 +0100)
commiteeef8fed3e6bd34c553ee8cb16d5fc1b703120af
tree8b1b7152e5a2c8de215dc434d987ecce37b030dc
parent884a163407cbc179b694294771a016071a6b6dd3
pci.h: The error callback is now declared with PCI_NONRET

Users of the repeatedly complain that the library crashes, which is
usually caused by providing an error hook which returns to the library.
Let's try warning them more explicitly.
lib/init.c
lib/pci.h