diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-05-30 17:57:32 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-05-30 17:57:32 +0000 |
commit | f46657ec5a23e9ff440b603fbf8ffd55e6aa4e84 (patch) | |
tree | d6bb995283343f4a8e9830827c475e16f3bdc646 /apps/misc.h | |
parent | dfb071d92ece27951dd2b3e17629ec61cd619460 (diff) | |
download | rockbox-f46657ec5a23e9ff440b603fbf8ffd55e6aa4e84.tar.gz rockbox-f46657ec5a23e9ff440b603fbf8ffd55e6aa4e84.zip |
Move the setvol wrapper function to misc.c and use it in more places instead of doing the same checks everywhere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13524 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/misc.h')
-rw-r--r-- | apps/misc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h index 959674fefd..926170ebe5 100644 --- a/apps/misc.h +++ b/apps/misc.h | |||
@@ -106,4 +106,7 @@ void check_bootfile(bool do_rolo); | |||
106 | #endif | 106 | #endif |
107 | #endif | 107 | #endif |
108 | 108 | ||
109 | /* check range, set volume and save settings */ | ||
110 | void setvol(void); | ||
111 | |||
109 | #endif /* MISC_H */ | 112 | #endif /* MISC_H */ |