X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fdump.c;h=90293e44e98bd9f0dfdd63586910584485c930de;hb=6aea909aa02024dad4a3ef1ed63a25a09185d740;hp=dd0be6fc531be46ddffb06c10c8131655c77bbd1;hpb=a27a33dde338ab9d809bebbade328559eaae733b;p=pciutils.git diff --git a/lib/dump.c b/lib/dump.c index dd0be6f..90293e4 100644 --- a/lib/dump.c +++ b/lib/dump.c @@ -1,9 +1,7 @@ /* - * $Id: dump.c,v 1.2 2002/03/30 15:39:25 mj Exp $ - * * The PCI Library -- Reading of Bus Dumps * - * Copyright (c) 1997--1999 Martin Mares + * Copyright (c) 1997--2003 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -70,12 +68,12 @@ dump_init(struct pci_access *a) } static void -dump_cleanup(struct pci_access * UNUSED a) +dump_cleanup(struct pci_access *a UNUSED) { } static void -dump_scan(struct pci_access * UNUSED a) +dump_scan(struct pci_access *a UNUSED) { } @@ -97,7 +95,7 @@ dump_read(struct pci_dev *d, int pos, byte *buf, int len) } static int -dump_write(struct pci_dev * UNUSED d, int UNUSED pos, byte * UNUSED buf, int UNUSED len) +dump_write(struct pci_dev *d UNUSED, int pos UNUSED, byte *buf UNUSED, int len UNUSED) { d->access->error("Writing to dump files is not supported."); return 0;