missing-decls reremoved

This commit is contained in:
Dominik Maier 2020-04-16 16:25:02 +02:00
parent cdac882834
commit ede3545d8b
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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)