diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-02-18 08:53:38 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-02-18 08:53:38 +0100 |
commit | 8b50e94fea022c3bae6a3003dd6983511a636c27 (patch) | |
tree | bc303f926f3c7d8928553edf59a7e0ed8037d482 /test | |
parent | 95f7d2d7cdb8e056dc5da42151ad966a6b60c0c4 (diff) |
Make compiler more picky.
Add -Werror=missing-prototypes
Diffstat (limited to 'test')
-rw-r--r-- | test/history-test.c | 2 | ||||
-rw-r--r-- | test/textbox-test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/history-test.c b/test/history-test.c index 2ac2c846..199f0443 100644 --- a/test/history-test.c +++ b/test/history-test.c @@ -16,7 +16,7 @@ static int test = 0; const char *file = "text"; -void history_test() +static void history_test( void ) { unlink(file); diff --git a/test/textbox-test.c b/test/textbox-test.c index bd8ef80f..fdab21ec 100644 --- a/test/textbox-test.c +++ b/test/textbox-test.c @@ -97,7 +97,7 @@ int main ( G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv ) TASSERT( textbox_get_width( box) >= textbox_get_font_width( box) ); TASSERT( textbox_get_height( box) >= textbox_get_font_height( box) ); - TASSERT( textbox_get_estimated_char_width ( box) > 0 ); + TASSERT( textbox_get_estimated_char_width ( ) > 0 ); textbox_cursor_bkspc ( box ); TASSERT ( strcmp(box->text, "tesbo") == 0 ); |