1
0
Fork 0
forked from len0rd/rockbox

Code police: add missing header file, make some local functions static

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24083 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-12-20 16:28:15 +00:00
parent ed1acf037c
commit 5698674ece
3 changed files with 3 additions and 2 deletions

View file

@ -1720,7 +1720,7 @@ static bool wps_parse(struct wps_data *data, const char *wps_bufptr, bool debug)
* except fields which need to survive, i.e. * except fields which need to survive, i.e.
* *
**/ **/
void skin_data_reset(struct wps_data *wps_data) static void skin_data_reset(struct wps_data *wps_data)
{ {
#ifdef HAVE_LCD_BITMAP #ifdef HAVE_LCD_BITMAP
wps_data->images = NULL; wps_data->images = NULL;

View file

@ -35,6 +35,7 @@
#include "settings.h" #include "settings.h"
#include "led.h" #include "led.h"
#include "appevents.h" #include "appevents.h"
#include "usb_screen.h"
#ifdef HAVE_LCD_BITMAP #ifdef HAVE_LCD_BITMAP
#include "bitmaps/usblogo.h" #include "bitmaps/usblogo.h"

View file

@ -79,7 +79,7 @@ static inline unsigned read_cp15 (void)
return (cp15_value); return (cp15_value);
} }
int calc_freq(int clk) static int calc_freq(int clk)
{ {
int out_div; int out_div;
unsigned int prediv = ((unsigned int)CGU_PROC>>2) & 0x3; unsigned int prediv = ((unsigned int)CGU_PROC>>2) & 0x3;