X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Finternal.h;h=d3a87b18c5e0b7c3dbf34e47acef40381e2f982b;hb=239ff18adf556b63a16be968725ba9fd0e6d5227;hp=ff86b2d4774337ee6956a0ec19b9aa9d69008f20;hpb=14d6c0a377eff7ac4f488a640249a25703725cac;p=pciutils.git diff --git a/lib/internal.h b/lib/internal.h index ff86b2d..d3a87b1 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -1,15 +1,22 @@ /* - * $Id: internal.h,v 1.4 2000/04/21 11:58:00 mj Exp $ + * $Id: internal.h,v 1.7 2002/12/26 19:28:33 mj Exp $ * * The PCI Library -- Internal Include File * - * Copyright (c) 1997--1999 Martin Mares + * Copyright (c) 1997--2000 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL. */ #include "pci.h" +#ifdef __GNUC__ +#define UNUSED __attribute__((unused)) +#else +#define UNUSED +#define inline +#endif + #ifdef HAVE_PM_LINUX_BYTEORDER_H #include @@ -84,11 +91,4 @@ struct pci_dev *pci_alloc_dev(struct pci_access *); int pci_link_dev(struct pci_access *, struct pci_dev *); extern struct pci_methods pm_intel_conf1, pm_intel_conf2, pm_linux_proc, - pm_syscalls, pm_fbsd_device, pm_aix_device, pm_dump; - -#ifdef __GNUC__ -#define UNUSED __attribute__((unused)) -#else -#define UNUSED -#define inline -#endif + pm_syscalls, pm_fbsd_device, pm_aix_device, pm_nbsd_libpci, pm_dump;