mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gstplugin: add a few consts to read only data
This commit is contained in:
parent
e1dbab9bea
commit
68a091303f
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ static char *_gst_plugin_fault_handler_filename = NULL;
|
|||
* MIT/X11: http://www.opensource.org/licenses/mit-license.php
|
||||
* 3-clause BSD: http://www.opensource.org/licenses/bsd-license.php
|
||||
*/
|
||||
static const gchar *valid_licenses[] = {
|
||||
static const gchar *const valid_licenses[] = {
|
||||
"LGPL", /* GNU Lesser General Public License */
|
||||
"GPL", /* GNU General Public License */
|
||||
"QPL", /* Trolltech Qt Public License */
|
||||
|
@ -487,7 +487,7 @@ priv_gst_plugin_loading_get_whitelist_hash (void)
|
|||
static gboolean
|
||||
gst_plugin_check_license (const gchar * license)
|
||||
{
|
||||
const gchar **check_license = valid_licenses;
|
||||
const gchar *const *check_license = valid_licenses;
|
||||
|
||||
g_assert (check_license);
|
||||
|
||||
|
|
Loading…
Reference in a new issue