Merge branch 'hotfix/build-warnings' into 'master'

Fix some build warnings

See merge request d3tn/ud3tn!256
This commit is contained in:
Felix Walter 2026-04-22 13:48:54 +02:00
commit 7e8f854c96
2 changed files with 3 additions and 8 deletions

View file

@ -38,14 +38,8 @@ CPPFLAGS += -DPB_ENABLE_MALLOC
$(eval $(call addComponentWithRules,external/nanopb,$(NANOPB_SOURCES)))
TINYCBOR_SOURCES := \
cborerrorstrings.c \
cborencoder.c \
cborencoder_close_container_checked.c \
cborparser.c \
cborparser_dup_string.c \
cborpretty.c \
cborpretty_stdio.c \
cbortojson.c
cborparser.c
$(eval $(call addComponentWithRules,external/tinycbor/src,$(TINYCBOR_SOURCES)))
$(eval $(call addComponentWithRules,external/util/src))

View file

@ -1,7 +1,8 @@
// SPDX-License-Identifier: BSD-3-Clause OR Apache-2.0
#define _POSIX_C_SOURCE 200809L
#include "aap2/aap2_client.h"
#define _POSIX_C_SOURCE 200809L
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>