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.
*
**/
void skin_data_reset(struct wps_data *wps_data)
static void skin_data_reset(struct wps_data *wps_data)
{
#ifdef HAVE_LCD_BITMAP
wps_data->images = NULL;

View file

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

View file

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