diff options
Diffstat (limited to 'lsmod.c')
-rw-r--r-- | lsmod.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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 | 62 | static const int QM_MODULES = 1; |
63 | #define QM_DEPS 2 | 63 | static const int QM_DEPS = 2; |
64 | #define QM_REFS 3 | 64 | static const int QM_REFS = 3; |
65 | #define QM_SYMBOLS 4 | 65 | static const int QM_SYMBOLS = 4; |
66 | #define QM_INFO 5 | 66 | static const int QM_INFO = 5; |
67 | 67 | ||
68 | /* Bits of module.flags. */ | 68 | /* Bits of module.flags. */ |
69 | #define NEW_MOD_RUNNING 1 | 69 | static const int NEW_MOD_RUNNING = 1; |
70 | #define NEW_MOD_DELETED 2 | 70 | static const int NEW_MOD_DELETED = 2; |
71 | #define NEW_MOD_AUTOCLEAN 4 | 71 | static const int NEW_MOD_AUTOCLEAN = 4; |
72 | #define NEW_MOD_VISITED 8 | 72 | static const int NEW_MOD_VISITED = 8; |
73 | #define NEW_MOD_USED_ONCE 16 | 73 | static const int NEW_MOD_USED_ONCE = 16; |
74 | #define NEW_MOD_INITIALIZING 64 | 74 | static const int NEW_MOD_INITIALIZING = 64; |
75 | 75 | ||
76 | 76 | ||
77 | extern int lsmod_main(int argc, char **argv) | 77 | extern int lsmod_main(int argc, char **argv) |