Skip to content

Commit

Permalink
kernel/main: Fix implicit declaration of function warnings
Browse files Browse the repository at this point in the history
kernel/main.c: In function 'bootstrap2':
kernel/main.c:138:9: warning: implicit declaration of function 'bio_init' [-Wimplicit-function-declaration]
  138 |         bio_init();
      |         ^~~~~~~~
kernel/main.c:141:9: warning: implicit declaration of function 'fs_init' [-Wimplicit-function-declaration]
  141 |         fs_init();
      |         ^~~~~~~
  • Loading branch information
TravMurav authored and stephan-gh committed Nov 4, 2023
1 parent 3f3ab24 commit 2964449
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kernel/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
#include <kernel/dpc.h>
#include <boot_stats.h>

#if WITH_LIB_BIO
#include <lib/bio.h>
#endif
#if WITH_LIB_FS
#include <lib/fs.h>
#endif

extern void *__ctor_list;
extern void *__ctor_end;
extern int __bss_start;
Expand Down

0 comments on commit 2964449

Please sign in to comment.