Fix undeclared symbol warnings from sparse

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-10-26 13:43:07 +00:00
parent 51a0f568c5
commit b1d8e52e63
37 changed files with 71 additions and 61 deletions

View file

@ -23,6 +23,7 @@
#include "hw.h"
#include "qemu-timer.h"
#include "console.h"
#include "devices.h"
#define TSC_CUT_RESOLUTION(value, p) ((value) >> (16 - (p ? 12 : 10)))
@ -319,7 +320,7 @@ static void tsc2005_reset(struct tsc2005_state_s *s)
tsc2005_pin_update(s);
}
uint8_t tsc2005_txrx_word(void *opaque, uint8_t value)
static uint8_t tsc2005_txrx_word(void *opaque, uint8_t value)
{
struct tsc2005_state_s *s = opaque;
uint32_t ret = 0;