[gtk-doc] tests: Clarify a test



commit 42a093b066c9dd10bda4930aeb6459b28cce82a4
Author: Stefan Sauer <ensonic users sf net>
Date:   Thu Mar 13 13:22:41 2014 +0100

    tests: Clarify a test
    
    Move the test struct closer to where its used and make the name more obvious.

 tests/bugs/src/tester.c |    2 +-
 tests/bugs/src/tester.h |   11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/tests/bugs/src/tester.c b/tests/bugs/src/tester.c
index 47dc4f7..4a281cf 100644
--- a/tests/bugs/src/tester.c
+++ b/tests/bugs/src/tester.c
@@ -77,7 +77,7 @@ int bug_380824 (int arg) {
  *
  * Returns: result
  */
-struct bug *
+struct bug_411739_rettype *
 bug_411739 (void) {
   return NULL;
 }
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index 7201205..cc1f6a3 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -81,10 +81,6 @@ struct _bug_460127 {
 GLIB_VAR guint64 (*bug_477532) (void);
 
 
-struct bug {
-  int test;
-};
-
 
 void bug_141869_a (unsigned pid);
 void bug_141869_b (signed pid);
@@ -94,7 +90,12 @@ void bug_379466 (int
 
 int bug_380824 (int arg);
 
-struct bug *
+
+struct bug_411739_rettype {
+  int test;
+};
+
+struct bug_411739_rettype *
 bug_411739 (void);
 
 void bug_419997 (int const_values);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]