diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-10-05 10:01:27 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-10-05 10:01:27 +0200 |
commit | f21595597f4fa872b77d7f76ae04916f4aae732e (patch) | |
tree | f0d4dec07da9a695a8627575b1837ba26441e911 /tests/unittests | |
parent | 7e8cf4a3d680ef5b8f056021846818fb526635d9 (diff) | |
download | profani-tty-f21595597f4fa872b77d7f76ae04916f4aae732e.tar.gz |
Format code correctly
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/omemo/stub_omemo.c | 5 | ||||
-rw-r--r-- | tests/unittests/ui/stub_ui.c | 17 |
2 files changed, 13 insertions, 9 deletions
diff --git a/tests/unittests/omemo/stub_omemo.c b/tests/unittests/omemo/stub_omemo.c index 127787ec..f7c60190 100644 --- a/tests/unittests/omemo/stub_omemo.c +++ b/tests/unittests/omemo/stub_omemo.c @@ -116,6 +116,7 @@ omemo_encrypt_file(FILE* in, FILE* out, off_t file_size, int* gcry_res) void omemo_free(void* a){}; uint32_t -omemo_device_id() { - return 123; +omemo_device_id() +{ + return 123; } diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index edacc80a..deff698b 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -211,18 +211,21 @@ ui_win_unread(int index) } gboolean -ui_win_has_attention(int index) { - return FALSE; +ui_win_has_attention(int index) +{ + return FALSE; } gboolean -win_has_attention(ProfWin* window){ - return FALSE; +win_has_attention(ProfWin* window) +{ + return FALSE; } gboolean -win_toggle_attention(ProfWin* window){ - return FALSE; +win_toggle_attention(ProfWin* window) +{ + return FALSE; } char* ui_ask_password(gboolean confirm) @@ -843,7 +846,7 @@ cons_show_wins(gboolean unread) { } -void +void cons_show_wins_attention() { } |