1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-25 06:43:02 +01:00

tell compiler that exit_toxic funcs don't return

This commit is contained in:
jfreegman 2023-08-26 08:05:43 -04:00
parent 4c77e80a7f
commit 69e4ed452d
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -114,8 +114,8 @@ void flag_interface_refresh(void);
/* Sets ncurses refresh rate. Lower values make it refresh more often. */ /* Sets ncurses refresh rate. Lower values make it refresh more often. */
void set_window_refresh_rate(size_t refresh_rate); void set_window_refresh_rate(size_t refresh_rate);
void exit_toxic_success(Tox *m); void exit_toxic_success(Tox *m) __attribute__((__noreturn__));
void exit_toxic_err(const char *errmsg, int errcode); void exit_toxic_err(const char *errmsg, int errcode) __attribute__((__noreturn__));
int store_data(Tox *m, const char *path); int store_data(Tox *m, const char *path);