diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-04-16 16:25:02 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-04-16 16:25:02 +0200 |
commit | ede3545d8bf9b29e6dbf590ba9986be1472faed3 (patch) | |
tree | b7a547012f565884580a171d1748d199a2c35146 | |
parent | cdac8828349d06275ec7c5ba17e009d9153264fe (diff) | |
download | afl++-ede3545d8bf9b29e6dbf590ba9986be1472faed3.tar.gz |
missing-decls reremoved
-rw-r--r-- | GNUmakefile | 3 | ||||
-rw-r--r-- | src/third_party/libradamsa/libradamsa.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index 5657f9a7..2a76fd85 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -69,9 +69,10 @@ ifneq "$(shell uname -m)" "x86_64" endif CFLAGS ?= -O3 -funroll-loops $(CFLAGS_OPT) -override CFLAGS += -Wall -g -Wno-pointer-sign -Wmissing-declarations \ +override CFLAGS += -Wall -g -Wno-pointer-sign \ -I include/ -Werror -DAFL_PATH=\"$(HELPER_PATH)\" \ -DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\" +# -Wmissing-declarations AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c) diff --git a/src/third_party/libradamsa/libradamsa.c b/src/third_party/libradamsa/libradamsa.c index 7fb5ea6d..b40e5670 100644 --- a/src/third_party/libradamsa/libradamsa.c +++ b/src/third_party/libradamsa/libradamsa.c @@ -30789,7 +30789,7 @@ void radamsa_init(void) { } /* bvec → value library call test with preserved state */ -word library_call(word val) { +static word library_call(word val) { word program_state = state; word res; state = IFALSE; @@ -30800,7 +30800,7 @@ word library_call(word val) { return res; } -size_t list_length(word lispval) { +static size_t list_length(word lispval) { size_t l = 0; while(lispval != INULL) { lispval = G(lispval, 2); @@ -30809,7 +30809,7 @@ size_t list_length(word lispval) { return l; } -size_t copy_list(uint8_t *ptr, word lispval, size_t max) { +static size_t copy_list(uint8_t *ptr, word lispval, size_t max) { size_t n = 0; while(pairp((word)lispval) && max-- && lispval != INULL) { *ptr++ = 255 & immval(G(lispval, 1)); // *ptr++ = car(list) |