summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-04-24 15:47:04 +0200
committerLars-Dominik Braun <lars@6xq.net>2011-04-24 15:47:04 +0200
commit24676ea968490f53583276a43d64d07784759332 (patch)
treebedeb093ee84ab4dae58d2d947d2be06c779a319
parent1ba2e7785b9371eddad336b68b0a8545bdfe6c61 (diff)
downloadpianobar-windows-24676ea968490f53583276a43d64d07784759332.tar.gz
pianobar-windows-24676ea968490f53583276a43d64d07784759332.tar.bz2
pianobar-windows-24676ea968490f53583276a43d64d07784759332.zip
Use static keyword for functions
-rw-r--r--src/ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui.c b/src/ui.c
index 4085ecb..94e559e 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -62,7 +62,7 @@ static bool isnumeric (const char *s) {
/* find needle in haystack, ignoring case, and return first position
*/
-const char *BarStrCaseStr (const char *haystack, const char *needle) {
+static const char *BarStrCaseStr (const char *haystack, const char *needle) {
const char *needlePos = needle;
assert (haystack != NULL);
@@ -301,7 +301,7 @@ static int BarStationCmpQuickmix10NameZA (const void *a, const void *b) {
* @param stations
* @return NULL-terminated array with sorted stations
*/
-PianoStation_t **BarSortedStations (PianoStation_t *unsortedStations,
+static PianoStation_t **BarSortedStations (PianoStation_t *unsortedStations,
size_t *retStationCount, BarStationSorting_t order) {
static const BarSortFunc_t orderMapping[] = {BarStationNameAZCmp,
BarStationNameZACmp,