From 6c26d879979218c1d0c11fb074ace0765b6f23bf Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Mon, 28 Sep 2015 21:22:51 +0200 Subject: [PATCH] Make some global vars in lastfm.c static --- src/lastfm.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lastfm.c b/src/lastfm.c index 11dddf2d..73990639 100644 --- a/src/lastfm.c +++ b/src/lastfm.c @@ -56,14 +56,14 @@ static int lastfm_disabled = 0; * The API key and secret (not so secret being open source) is specific to * forked-daapd, and is used to identify forked-daapd and to sign requests */ -const char *lastfm_api_key = "579593f2ed3f49673c7364fd1c9c829b"; -const char *lastfm_secret = "ce45a1d275c10b3edf0ecfa27791cb2b"; +static const char *lastfm_api_key = "579593f2ed3f49673c7364fd1c9c829b"; +static const char *lastfm_secret = "ce45a1d275c10b3edf0ecfa27791cb2b"; -const char *api_url = "http://ws.audioscrobbler.com/2.0/"; -const char *auth_url = "https://ws.audioscrobbler.com/2.0/"; +static const char *api_url = "http://ws.audioscrobbler.com/2.0/"; +static const char *auth_url = "https://ws.audioscrobbler.com/2.0/"; // Session key -char *lastfm_session_key = NULL; +static char *lastfm_session_key = NULL;