aboutsummaryrefslogtreecommitdiff
path: root/lsmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'lsmod.c')
-rw-r--r--lsmod.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/lsmod.c b/lsmod.c
index 4c50bf4bd..586920d63 100644
--- a/lsmod.c
+++ b/lsmod.c
@@ -59,19 +59,19 @@ int query_module(const char *name, int which, void *buf, size_t bufsize,
59 size_t *ret); 59 size_t *ret);
60 60
61/* Values for query_module's which. */ 61/* Values for query_module's which. */
62#define QM_MODULES 1 62static const int QM_MODULES = 1;
63#define QM_DEPS 2 63static const int QM_DEPS = 2;
64#define QM_REFS 3 64static const int QM_REFS = 3;
65#define QM_SYMBOLS 4 65static const int QM_SYMBOLS = 4;
66#define QM_INFO 5 66static const int QM_INFO = 5;
67 67
68/* Bits of module.flags. */ 68/* Bits of module.flags. */
69#define NEW_MOD_RUNNING 1 69static const int NEW_MOD_RUNNING = 1;
70#define NEW_MOD_DELETED 2 70static const int NEW_MOD_DELETED = 2;
71#define NEW_MOD_AUTOCLEAN 4 71static const int NEW_MOD_AUTOCLEAN = 4;
72#define NEW_MOD_VISITED 8 72static const int NEW_MOD_VISITED = 8;
73#define NEW_MOD_USED_ONCE 16 73static const int NEW_MOD_USED_ONCE = 16;
74#define NEW_MOD_INITIALIZING 64 74static const int NEW_MOD_INITIALIZING = 64;
75 75
76 76
77extern int lsmod_main(int argc, char **argv) 77extern int lsmod_main(int argc, char **argv)