]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/i386-io-haiku.h
Update license comments and added SPDX license identifiers
[pciutils.git] / lib / i386-io-haiku.h
index 2bbe592672abaa8471c123a7c3ff026b4994f186..ce5362be82a6d7f7dae5cc87d1e4406a2f7f2a32 100644 (file)
@@ -3,7 +3,9 @@
  *
  *     Copyright (c) 2009 Francois Revol <revol@free.fr>
  *
- *     Can be freely distributed and used under the terms of the GNU GPL.
+ *     Can be freely distributed and used under the terms of the GNU GPL v2+
+ *
+ *     SPDX-License-Identifier: GPL-2.0-or-later
  */
 
 #include <Drivers.h>
@@ -68,11 +70,10 @@ intel_setup_io(struct pci_access *a UNUSED)
   return (poke_driver_fd < 0) ? 0 : 1;
 }
 
-static inline int
+static inline void
 intel_cleanup_io(struct pci_access *a UNUSED)
 {
   close(poke_driver_fd);
-  return 1;
 }
 
 static inline u8