1 From 25f131be221c5b2f8cb4f0c2a32f522415bb3bbf Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Mon, 17 Oct 2022 20:15:30 +0200
4 Subject: [PATCH] Mute some no previous prototype compilation warning
6 Mute some no previous prototype compilation warning found in
7 atlas_unsafe, rxtxrpt_main and route_set_flags.
9 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
11 include/libbb.h | 2 ++
12 libbb/route_set_flags.c | 2 ++
13 2 files changed, 4 insertions(+)
17 @@ -463,6 +463,7 @@ char *is_suffixed_with(const char *strin
18 #define ATLAS_TIMESYNC_FILE_REL ATLAS_DATA_NEW_REL "/timesync.vol"
19 #define ATLAS_FUZZING_REL "data"
21 +extern int atlas_unsafe(void);
22 extern char *rebased_validated_filename(const char *path, const char *prefix);
23 extern char *rebased_validated_dir(const char *path, const char *prefix);
24 extern int validate_atlas_id(const char *atlas_id);
25 @@ -484,6 +485,7 @@ extern void read_response(int fd, int ty
26 extern void read_response_file(FILE *file, int type, size_t *sizep,
28 extern void write_response(FILE *file, int type, size_t size, void *data);
29 +extern int rxtxrpt_main(int argc, char *argv[]);
31 int ndelay_on(int fd) FAST_FUNC;
32 int ndelay_off(int fd) FAST_FUNC;
33 --- a/libbb/route_set_flags.c
34 +++ b/libbb/route_set_flags.c
37 #include <net/route.h>
42 IF_NOT_FEATURE_IPV6(uint16_t)
43 IF_FEATURE_IPV6(unsigned)