summaryrefslogtreecommitdiff
path: root/tests/scanner
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2014-03-03 04:23:23 -0800
committerSimon Feltman <sfeltman@src.gnome.org>2014-03-03 04:23:23 -0800
commit37f735f0da79cbb54b9d21924816543ab2510de2 (patch)
treeed5b30fa7a44c74acc057f833d0a40fd66a12264 /tests/scanner
parentf86cf878c4684ae6d90325ec78c7a5d668dcfeaa (diff)
downloadgobject-introspection-37f735f0da79cbb54b9d21924816543ab2510de2.tar.gz
tests: Fix function pointer prototype in regress.h
This was causing a "warning: function declaration isn't a prototype" with strict-prototypes enabled.
Diffstat (limited to 'tests/scanner')
-rw-r--r--tests/scanner/regress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
index 004ae36e..e2e645ba 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);