]> git.ipfire.org Git - thirdparty/pciutils.git/blobdiff - lib/names-cache.c
lspci: zero address in IO isn't always unassigned
[thirdparty/pciutils.git] / lib / names-cache.c
index 059311ac20ae6e3cfc8f7b60253409c6b7348516..90a6454a2c91781d9b331b82e165a0e5d9bc00b3 100644 (file)
@@ -1,11 +1,16 @@
 /*
  *     The PCI Library -- ID to Name Cache
  *
- *     Copyright (c) 2008 Martin Mares <mj@ucw.cz>
+ *     Copyright (c) 2008--2009 Martin Mares <mj@ucw.cz>
  *
  *     Can be freely distributed and used under the terms of the GNU GPL.
  */
 
+#include "internal.h"
+#include "names.h"
+
+#ifdef PCI_USE_DNS
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <pwd.h>
 #include <unistd.h>
 
-#include "internal.h"
-#include "names.h"
-
-#ifdef PCI_USE_DNS
-
 static const char cache_version[] = "#PCI-CACHE-1.0";
 
 static char *get_cache_name(struct pci_access *a)