From 823fdc9cb47b0117f34366b1c7d583070803a93c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 20 Oct 2021 20:58:12 -0400 Subject: command: Make command_add_frame() and command_encodef() static The only users of these two functions are in command.c so they can be declared local to that code. Signed-off-by: Kevin O'Connor --- src/command.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index 67e595bc..894114d7 100644 --- a/src/command.h +++ b/src/command.h @@ -74,9 +74,6 @@ enum { void *command_decode_ptr(uint32_t v); uint8_t *command_parsef(uint8_t *p, uint8_t *maxend , const struct command_parser *cp, uint32_t *args); -uint_fast8_t command_encodef(uint8_t *buf, const struct command_encoder *ce - , va_list args); -void command_add_frame(uint8_t *buf, uint_fast8_t msglen); uint_fast8_t command_encode_and_frame( uint8_t *buf, const struct command_encoder *ce, va_list args); void command_sendf(const struct command_encoder *ce, ...); -- cgit v1.2.3-70-g09d2