mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 06:26:44 +02: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:
@ -40,6 +40,9 @@ typedef struct FriendRequests {
|
||||
struct friend_request request[MAX_FRIEND_REQUESTS];
|
||||
} FriendRequests;
|
||||
|
||||
extern ToxWindow *prompt;
|
||||
extern FriendRequests FrndRequests;
|
||||
|
||||
ToxWindow *new_prompt(void);
|
||||
|
||||
void prep_prompt_win(void);
|
||||
|
Reference in New Issue
Block a user