[gupnp-dlna/wip/new-api: 14/46] Make some functions static.



commit 124c60f9a39c16dce1e8f3ee8c82d977cc2210a0
Author: Krzesimir Nowak <krnowak openismus com>
Date:   Thu Nov 29 15:10:08 2012 +0100

    Make some functions static.

 .../native/sets/gupnp-dlna-native-value-type.c     |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgupnp-dlna/profile-backends/native/sets/gupnp-dlna-native-value-type.c b/libgupnp-dlna/profile-backends/native/sets/gupnp-dlna-native-value-type.c
index 62842db..e301d89 100644
--- a/libgupnp-dlna/profile-backends/native/sets/gupnp-dlna-native-value-type.c
+++ b/libgupnp-dlna/profile-backends/native/sets/gupnp-dlna-native-value-type.c
@@ -231,7 +231,7 @@ bool_to_string (GUPnPDLNANativeValueType  *type G_GNUC_UNUSED,
         return g_strdup (value->bool_value ? "true" : "false");
 }
 
-gint
+static gint
 bool_compare (GUPnPDLNANativeValueType  *type G_GNUC_UNUSED,
               GUPnPDLNANativeValueUnion *a,
               GUPnPDLNANativeValueUnion *b)
@@ -348,7 +348,7 @@ fraction_to_string (GUPnPDLNANativeValueType  *type G_GNUC_UNUSED,
                                 value->fraction_value.denominator);
 }
 
-gint
+static gint
 fraction_compare (GUPnPDLNANativeValueType  *type G_GNUC_UNUSED,
                   GUPnPDLNANativeValueUnion *a,
                   GUPnPDLNANativeValueUnion *b)
@@ -440,7 +440,7 @@ int_to_string (GUPnPDLNANativeValueType  *type G_GNUC_UNUSED,
         return g_strdup_printf ("%d", value->int_value);
 }
 
-gint
+static gint
 int_compare (GUPnPDLNANativeValueType  *type G_GNUC_UNUSED,
              GUPnPDLNANativeValueUnion *a,
              GUPnPDLNANativeValueUnion *b)
@@ -530,7 +530,7 @@ string_to_string (GUPnPDLNANativeValueType  *type G_GNUC_UNUSED,
         return g_strdup (value->string_value);
 }
 
-gint
+static gint
 string_compare (GUPnPDLNANativeValueType  *type G_GNUC_UNUSED,
                 GUPnPDLNANativeValueUnion *a,
                 GUPnPDLNANativeValueUnion *b)



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