File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ CFLAGS += -fcallgraph-info=su
6363CFLAGS += -g3
6464CFLAGS += -I.
6565CFLAGS += -std=c99 -Wall -Wextra -pedantic
66+ CFLAGS += -Wmissing-prototypes
6667CFLAGS += -ftrack-macro-expansion=0
6768ifdef DEBUG
6869CFLAGS += -O0
@@ -354,6 +355,7 @@ summary-diff sizes-diff: $(OBJ) $(CI)
354355
355356# # Build the test-runner
356357.PHONY : test-runner build-test
358+ test-runner build-test : CFLAGS+=-Wno-missing-prototypes
357359ifndef NO_COV
358360test-runner build-test : CFLAGS+=--coverage
359361endif
@@ -405,6 +407,7 @@ testmarks-diff: $(TEST_CSV)
405407
406408# # Build the bench-runner
407409.PHONY : bench-runner build-bench
410+ bench-runner build-bench : CFLAGS+=-Wno-missing-prototypes
408411ifdef YES_COV
409412bench-runner build-bench : CFLAGS+=--coverage
410413endif
Original file line number Diff line number Diff line change @@ -4999,7 +4999,7 @@ static int lfs_fs_forceconsistency(lfs_t *lfs) {
49994999#endif
50005000
50015001#ifndef LFS_READONLY
5002- int lfs_fs_rawmkconsistent (lfs_t * lfs ) {
5002+ static int lfs_fs_rawmkconsistent (lfs_t * lfs ) {
50035003 // lfs_fs_forceconsistency does most of the work here
50045004 int err = lfs_fs_forceconsistency (lfs );
50055005 if (err ) {
@@ -5046,7 +5046,7 @@ static lfs_ssize_t lfs_fs_rawsize(lfs_t *lfs) {
50465046}
50475047
50485048#ifndef LFS_READONLY
5049- int lfs_fs_rawgrow (lfs_t * lfs , lfs_size_t block_count ) {
5049+ static int lfs_fs_rawgrow (lfs_t * lfs , lfs_size_t block_count ) {
50505050 // shrinking is not supported
50515051 LFS_ASSERT (block_count >= lfs -> block_count );
50525052
You can’t perform that action at this time.
0 commit comments