summaryrefslogtreecommitdiff
path: root/pciutils.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2018-03-17 12:41:24 +0100
committerMartin Mares <mj@ucw.cz>2018-03-17 12:41:24 +0100
commitaf34f014f33e39af5f77e3bcdd66f05b3bd9aa39 (patch)
tree4238b1a3019c10b2da3114c6a957e71ecac1459c /pciutils.h
parentd1d7d88a5d0009a9a01f623f887bef2bdc3728d3 (diff)
downloadpciutils-af34f014f33e39af5f77e3bcdd66f05b3bd9aa39.tar.gz
Avoid "optarg" as an identifier
On SylixOS, it is defined as a macro.
Diffstat (limited to 'pciutils.h')
-rw-r--r--pciutils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pciutils.h b/pciutils.h
index 1de2b01..3c5fac6 100644
--- a/pciutils.h
+++ b/pciutils.h
@@ -1,7 +1,7 @@
/*
* The PCI Utilities -- Declarations
*
- * Copyright (c) 1997--2016 Martin Mares <mj@ucw.cz>
+ * Copyright (c) 1997--2018 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
@@ -23,7 +23,7 @@ void die(char *msg, ...) NONRET PCI_PRINTF(1,2);
void *xmalloc(size_t howmuch);
void *xrealloc(void *ptr, size_t howmuch);
char *xstrdup(const char *str);
-int parse_generic_option(int i, struct pci_access *pacc, char *optarg);
+int parse_generic_option(int i, struct pci_access *pacc, char *arg);
#ifdef PCI_HAVE_PM_INTEL_CONF
#define GENOPT_INTEL "H:"