diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-09-22 09:05:06 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-09-22 09:05:06 +0000 |
commit | 376169ab957b38902f58e4e531c4600f79bd4424 (patch) | |
tree | e0fbc4cb1ecbdd3e19d5b623668929e1ecd73c6b /apps/recorder/recording.c | |
parent | 4a42723c33faf11c663c2ea162b0a2eb93b42a02 (diff) | |
download | rockbox-376169ab957b38902f58e4e531c4600f79bd4424.tar.gz rockbox-376169ab957b38902f58e4e531c4600f79bd4424.zip |
small optimisation: make a locally used function static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14815 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index eca0221caf..f643b8442a 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -160,7 +160,7 @@ enum rec_status_flags | |||
160 | 160 | ||
161 | static int rec_status = 0; | 161 | static int rec_status = 0; |
162 | 162 | ||
163 | bool in_recording_screen(void) | 163 | bool in_recording_screen(void) |
164 | { | 164 | { |
165 | return (rec_status & RCSTAT_IN_RECSCREEN) != 0; | 165 | return (rec_status & RCSTAT_IN_RECSCREEN) != 0; |
166 | } | 166 | } |
@@ -640,7 +640,7 @@ char *rec_create_filename(char *buffer) | |||
640 | 640 | ||
641 | #if CONFIG_RTC == 0 | 641 | #if CONFIG_RTC == 0 |
642 | /* Hit disk to get a starting filename for the type */ | 642 | /* Hit disk to get a starting filename for the type */ |
643 | void rec_init_filename(void) | 643 | static void rec_init_filename(void) |
644 | { | 644 | { |
645 | file_number = -1; | 645 | file_number = -1; |
646 | rec_create_filename(path_buffer); | 646 | rec_create_filename(path_buffer); |