diff options
author | mannol <mannol@users.noreply.github.com> | 2015-07-09 01:30:47 +0200 |
---|---|---|
committer | mannol <mannol@users.noreply.github.com> | 2015-07-09 01:30:47 +0200 |
commit | b5b32b91976f04f268d1a6be85232c360b542589 (patch) | |
tree | c9f07002354a18944d3f1596b530f2b37edbc8ab /toxav/msi.c | |
parent | 4bc2413c4451560e912617fd7432c4b6f141ccf7 (diff) | |
parent | ce9003d432e4ed70f227f8c6b6f4bc2841d516a9 (diff) |
Merge pull request #1 from GrayHatter/patch-4
send_message() is too global to be non-static
Diffstat (limited to 'toxav/msi.c')
-rw-r--r-- | toxav/msi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
82 | void msg_init (MSIMessage *dest, MSIRequest request); | 82 | void msg_init (MSIMessage *dest, MSIRequest request); |
83 | int msg_parse_in ( MSIMessage *dest, const uint8_t *data, uint16_t length ); | 83 | int msg_parse_in ( MSIMessage *dest, const uint8_t *data, uint16_t length ); |
84 | uint8_t *msg_parse_header_out ( MSIHeaderID id, uint8_t *dest, const void *value, uint8_t value_len, uint16_t *length ); | 84 | uint8_t *msg_parse_header_out ( MSIHeaderID id, uint8_t *dest, const void *value, uint8_t value_len, uint16_t *length ); |
85 | int send_message ( Messenger* m, uint32_t friend_number, const MSIMessage *msg ); | 85 | static int send_message ( Messenger* m, uint32_t friend_number, const MSIMessage *msg ); |
86 | int send_error ( Messenger* m, uint32_t friend_number, MSIError error ); | 86 | int send_error ( Messenger* m, uint32_t friend_number, MSIError error ); |
87 | static int invoke_callback(MSICall* call, MSICallbackID cb); | 87 | static int invoke_callback(MSICall* call, MSICallbackID cb); |
88 | static MSICall *get_call ( MSISession *session, uint32_t friend_number ); | 88 | static MSICall *get_call ( MSISession *session, uint32_t friend_number ); |