~mmach/netext73/busybox

« back to all changes in this revision

Viewing changes to util-linux/lspci.c

  • Committer: mmach
  • Date: 2022-08-22 15:28:31 UTC
  • Revision ID: netbit73@gmail.com-20220822152831-vrsxgw6c75b03ujx
1.35.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
//config:config LSPCI
10
10
//config:       bool "lspci (6.3 kb)"
11
11
//config:       default y
12
 
//config:       #select PLATFORM_LINUX
13
12
//config:       help
14
13
//config:       lspci is a utility for displaying information about PCI buses in the
15
14
//config:       system and devices connected to them.
38
37
/*
39
38
 * PCI_SLOT_NAME PCI_CLASS: PCI_VID:PCI_DID [PCI_SUBSYS_VID:PCI_SUBSYS_DID] [DRIVER]
40
39
 */
41
 
static int FAST_FUNC fileAction(
 
40
static int FAST_FUNC fileAction(struct recursive_state *state UNUSED_PARAM,
42
41
                const char *fileName,
43
 
                struct stat *statbuf UNUSED_PARAM,
44
 
                void *userData UNUSED_PARAM,
45
 
                int depth UNUSED_PARAM)
 
42
                struct stat *statbuf UNUSED_PARAM)
46
43
{
47
44
        parser_t *parser;
48
45
        char *tokens[3];
118
115
                        ACTION_RECURSE,
119
116
                        fileAction,
120
117
                        NULL, /* dirAction */
121
 
                        NULL, /* userData */
122
 
                        0 /* depth */);
123
 
 
 
118
                        NULL /* userData */
 
119
        );
124
120
        return EXIT_SUCCESS;
125
121
}