From ce9003d432e4ed70f227f8c6b6f4bc2841d516a9 Mon Sep 17 00:00:00 2001 From: GrayHatter Date: Wed, 8 Jul 2015 15:09:19 -0700 Subject: send_message() is too global to be non-static --- toxav/msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxav/msi.c') diff --git a/toxav/msi.c b/toxav/msi.c index d3559160..ec2f4bf2 100644 --- a/toxav/msi.c +++ b/toxav/msi.c @@ -82,7 +82,7 @@ typedef struct { void msg_init (MSIMessage *dest, MSIRequest request); int msg_parse_in ( MSIMessage *dest, const uint8_t *data, uint16_t length ); uint8_t *msg_parse_header_out ( MSIHeaderID id, uint8_t *dest, const void *value, uint8_t value_len, uint16_t *length ); -int send_message ( Messenger* m, uint32_t friend_number, const MSIMessage *msg ); +static int send_message ( Messenger* m, uint32_t friend_number, const MSIMessage *msg ); int send_error ( Messenger* m, uint32_t friend_number, MSIError error ); static int invoke_callback(MSICall* call, MSICallbackID cb); static MSICall *get_call ( MSISession *session, uint32_t friend_number ); -- cgit v1.2.3