struct symsearch is only used inside of module.h, so move the definition out of module.h.
Showing the changes to kernel (1 of 2 files). Show all
Unified · Split
| @@ -428,6 +428,17 @@ extern const s32 __start___kcrctab_unused_gpl[]; · 427 unmodified lines | |||
| 428 | #define symversion(base, idx) ((base != NULL) ? ((base) + (idx)) : NULL) | 428 | #define symversion(base, idx) ((base != NULL) ? ((base) + (idx)) : NULL) |
| 429 | #endif | 429 | #endif |
| 430 | 430 | ||
| 431 | struct symsearch { | ||
| 432 | const struct kernel_symbol *start, *stop; | ||
| 433 | const s32 *crcs; | ||
| 434 | enum mod_license { | ||
| 435 | NOT_GPL_ONLY, | ||
| 436 | GPL_ONLY, | ||
| 437 | WILL_BE_GPL_ONLY, | ||
| 438 | } license; | ||
| 439 | bool unused; | ||
| 440 | }; | ||
| 441 | |||
| 431 | struct find_symbol_arg { | 442 | struct find_symbol_arg { |
| 432 | /* Input */ | 443 | /* Input */ |
| 433 | const char *name; | 444 | const char *name; |