[glib: 11/15] Fix ‘static’ is not at beginning of declaration in glib/tests/option-context.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 11/15] Fix ‘static’ is not at beginning of declaration in glib/tests/option-context.c
- Date: Sat, 14 Nov 2020 11:44:47 +0000 (UTC)
commit 913d222c882f22a69ee90ac6c274ae8e4563bcc4
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Sun Nov 8 22:09:21 2020 +0100
Fix ‘static’ is not at beginning of declaration in glib/tests/option-context.c
glib/tests/option-context.c:1335:1: error: ‘static’ is not at beginning of declaration
1335 | static array_test1 (void)
| ^~~~~~
glib/tests/option-context.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/tests/option-context.c b/glib/tests/option-context.c
index 4ae050214..68e990db0 100644
--- a/glib/tests/option-context.c
+++ b/glib/tests/option-context.c
@@ -1332,8 +1332,8 @@ ignore_test3 (void)
g_option_context_free (context);
}
-void
-static array_test1 (void)
+static void
+array_test1 (void)
{
GOptionContext *context;
gboolean retval;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]