[gobject-introspection] tests: Fix function pointer prototype in regress.h



commit 37f735f0da79cbb54b9d21924816543ab2510de2
Author: Simon Feltman <sfeltman src gnome org>
Date:   Mon Mar 3 04:23:23 2014 -0800

    tests: Fix function pointer prototype in regress.h
    
    This was causing a "warning: function declaration isn't a
    prototype" with strict-prototypes enabled.

 tests/scanner/regress.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
index 004ae36..e2e645b 100644
--- a/tests/scanner/regress.h
+++ b/tests/scanner/regress.h
@@ -490,7 +490,7 @@ struct _RegressTestObj
   GType gtype;
 
   /* < private > */
-  void (*function_ptr)();
+  void (*function_ptr) (void);
 };
 
 typedef void (*RegressTestExternallyDefinedCallback) (RegressTestObj *obj, int someint);


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