mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-09 13:26:35 +01:00
cleanup: Reduce the amount of "extern" in .c files.
There is no check at all that the types of externs actually match the type of the definition. This just accidentally was not a problem, but now the compiler helps a bit in keeping it that way.
This commit is contained in:
@@ -145,5 +145,7 @@ void on_friend_typing(Tox *m, uint32_t friendnumber, bool is_typing, void *userd
|
||||
void on_friend_read_receipt(Tox *m, uint32_t friendnumber, uint32_t receipt, void *userdata);
|
||||
void on_lossless_custom_packet(Tox *m, uint32_t friendnumber, const uint8_t *data, size_t length, void *userdata);
|
||||
|
||||
extern char *DATA_FILE;
|
||||
extern char *BLOCK_FILE;
|
||||
|
||||
#endif /* TOXIC_H */
|
||||
|
||||
Reference in New Issue
Block a user