diff options
author | Martin Mares <mj@ucw.cz> | 2018-03-17 12:41:24 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2018-03-17 12:41:24 +0100 |
commit | af34f014f33e39af5f77e3bcdd66f05b3bd9aa39 (patch) | |
tree | 4238b1a3019c10b2da3114c6a957e71ecac1459c /pciutils.h | |
parent | d1d7d88a5d0009a9a01f623f887bef2bdc3728d3 (diff) | |
download | pciutils-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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:" |