From: Luc Yriarte Date: Tue, 23 Jul 2013 12:45:35 +0000 (+0200) Subject: make callbacks and const data static X-Git-Tag: submit/tizen/20130807.192244~6^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8afac2863b655b7389b0e87bb382a9feb532449;p=profile%2Fivi%2Fwrt-plugins-ivi.git make callbacks and const data static --- diff --git a/src/MediaServer/MediaServer.cpp b/src/MediaServer/MediaServer.cpp index f6a41cb..2e8a8cd 100644 --- a/src/MediaServer/MediaServer.cpp +++ b/src/MediaServer/MediaServer.cpp @@ -25,7 +25,7 @@ using namespace WrtDeviceApis::Commons; /* * Attribute filter for browse / find on UPnPContainer2 proxy */ -const gchar *const arg_Filter[] = { +static const gchar *const arg_Filter[] = { "Path", /* MediaObject id */ "Type", /* MediaObject type */ "DisplayName", /* MediaObject title */ @@ -47,7 +47,7 @@ const gchar *const arg_Filter[] = { /* * Callback for browse / find on UPnPContainer2 proxy */ -void browseFindCallback(GObject *source_object, GAsyncResult *res, gpointer user_data) { +static void browseFindCallback(GObject *source_object, GAsyncResult *res, gpointer user_data) { GError* gerror = NULL; BrowseFindCB * callback = (BrowseFindCB *) user_data;