[perl-Glib-Object-Introspection] Make an internal function static
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib-Object-Introspection] Make an internal function static
- Date: Wed, 12 Oct 2011 17:41:48 +0000 (UTC)
commit 23c5145227802fcf16bd333926adbd7da9619981
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date: Wed Oct 12 15:09:00 2011 +0200
Make an internal function static
GObjectIntrospection.xs | 8 ++++----
gperl-i11n-invoke-c.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index dfc47d5..eb8236c 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -100,10 +100,10 @@ static void invoke_callback (ffi_cif* cif,
gpointer* args,
gpointer userdata);
-void invoke_callable (GICallableInfo *info,
- gpointer func_pointer,
- SV **sp, I32 ax, SV **mark, I32 items, /* these correspond to dXSARGS */
- UV internal_stack_offset);
+static void invoke_callable (GICallableInfo *info,
+ gpointer func_pointer,
+ SV **sp, I32 ax, SV **mark, I32 items, /* these correspond to dXSARGS */
+ UV internal_stack_offset);
/* invocation info */
static void prepare_invocation_info (GPerlI11nInvocationInfo *iinfo,
diff --git a/gperl-i11n-invoke-c.c b/gperl-i11n-invoke-c.c
index aa4c853..7aaca36 100644
--- a/gperl-i11n-invoke-c.c
+++ b/gperl-i11n-invoke-c.c
@@ -1,4 +1,4 @@
-void
+static void
invoke_callable (GICallableInfo *info,
gpointer func_pointer,
SV **sp, I32 ax, SV **mark, I32 items, /* these correspond to dXSARGS */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]