diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-04-24 15:47:04 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-04-24 15:47:04 +0200 |
commit | 24676ea968490f53583276a43d64d07784759332 (patch) | |
tree | bedeb093ee84ab4dae58d2d947d2be06c779a319 | |
parent | 1ba2e7785b9371eddad336b68b0a8545bdfe6c61 (diff) | |
download | pianobar-windows-24676ea968490f53583276a43d64d07784759332.tar.gz pianobar-windows-24676ea968490f53583276a43d64d07784759332.tar.bz2 pianobar-windows-24676ea968490f53583276a43d64d07784759332.zip |
Use static keyword for functions
-rw-r--r-- | src/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |