[gjs] value.c: Make non-public constructor function static
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] value.c: Make non-public constructor function static
- Date: Thu, 16 Sep 2010 21:25:44 +0000 (UTC)
commit b284c4235c00271d4160841621fcb94d92d0d78d
Author: Colin Walters <walters verbum org>
Date: Thu Sep 16 17:21:56 2010 -0400
value.c: Make non-public constructor function static
Avoids a compiler warning.
gi/value.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/value.c b/gi/value.c
index 67440dd..f1b8a59 100644
--- a/gi/value.c
+++ b/gi/value.c
@@ -678,7 +678,7 @@ gjs_value_from_g_value(JSContext *context,
return gjs_value_from_g_value_internal(context, value_p, gvalue, FALSE);
}
-__attribute__((constructor)) void
+__attribute__((constructor)) static void
_gjs_value_init_types(void)
{
_array_type = g_type_from_name("GArray");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]