Skip to content

Commit

Permalink
Mute some no previous prototype compilation warning
Browse files Browse the repository at this point in the history
Mute some no previous prototype compilation warning found in
atlas_unsafe, rxtxrpt_main and route_set_flags.

Signed-off-by: Christian Marangi <[email protected]>
  • Loading branch information
Ansuel committed Oct 17, 2022
1 parent edea197 commit b0eab10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/libbb.h
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ char *is_suffixed_with(const char *string, const char *key) FAST_FUNC;
#define ATLAS_TIMESYNC_FILE_REL ATLAS_DATA_NEW_REL "/timesync.vol"
#define ATLAS_FUZZING_REL "data"

extern int atlas_unsafe(void);
extern char *rebased_validated_filename(const char *path, const char *prefix);
extern char *rebased_validated_dir(const char *path, const char *prefix);
extern int validate_atlas_id(const char *atlas_id);
Expand All @@ -484,6 +485,7 @@ extern void read_response(int fd, int type, size_t *sizep, void *data);
extern void read_response_file(FILE *file, int type, size_t *sizep,
void *data);
extern void write_response(FILE *file, int type, size_t size, void *data);
extern int rxtxrpt_main(int argc, char *argv[]);

int ndelay_on(int fd) FAST_FUNC;
int ndelay_off(int fd) FAST_FUNC;
Expand Down
2 changes: 2 additions & 0 deletions libbb/route_set_flags.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <platform.h>
#include <net/route.h>

#include "libbb.h"

static const
IF_NOT_FEATURE_IPV6(uint16_t)
IF_FEATURE_IPV6(unsigned)
Expand Down

0 comments on commit b0eab10

Please sign in to comment.