diff options
| author | Burt P <pburt0@gmail.com> | 2020-01-10 11:07:39 -0600 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2020-01-17 16:14:30 -0800 | 
| commit | 29f8126a0112c2125aa8b150314521cbc5c7d9fd (patch) | |
| tree | fac2a5301b804d3977f88d6d75aa2be3630366a4 /includes | |
| parent | 7114175cdb6ff611dfb164959c5aec2099f9e887 (diff) | |
pci: sort list of devices
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/pci_util.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/includes/pci_util.h b/includes/pci_util.h index 6178be21..88a8b236 100644 --- a/includes/pci_util.h +++ b/includes/pci_util.h @@ -58,6 +58,7 @@ typedef struct pcid {  pcid *pci_get_device(uint32_t dom, uint32_t bus, uint32_t dev, uint32_t func);  pcid *pci_get_device_str(const char *addy);  #define pcid_new() g_new0(pcid, 1) +gint pcid_cmp_by_addy(const pcid* a, const pcid* b);  void pcid_free(pcid *);  typedef GSList* pcid_list; | 
