From 24676ea968490f53583276a43d64d07784759332 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 24 Apr 2011 15:47:04 +0200 Subject: Use static keyword for functions --- src/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui.c') 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, -- cgit v1.2.3