From f46657ec5a23e9ff440b603fbf8ffd55e6aa4e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Wed, 30 May 2007 17:57:32 +0000 Subject: 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 --- apps/misc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/misc.h') diff --git a/apps/misc.h b/apps/misc.h index 959674f..926170e 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -106,4 +106,7 @@ void check_bootfile(bool do_rolo); #endif #endif +/* check range, set volume and save settings */ +void setvol(void); + #endif /* MISC_H */ -- cgit v1.1