mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 01:31:37 +00:00
missing-decls reremoved
This commit is contained in:
parent
cdac882834
commit
ede3545d8b
@ -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)
|
||||
|
||||
|
6
src/third_party/libradamsa/libradamsa.c
vendored
6
src/third_party/libradamsa/libradamsa.c
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user