add static to remove warnings

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5849 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty
2003-12-31 11:39:43 +00:00
parent 7d2bb07ed9
commit 4afe6a6bd3
4 changed files with 20 additions and 20 deletions
@@ -244,18 +244,18 @@ static void dumprom (void *rom, size_t size)
}
/* return 1 if vblank interrupt has occured */
int caused_vbi(vuint32 * regs)
static int caused_vbi(vuint32 * regs)
{
return (NV_REG32(NV32_CRTC_INTS) & 0x00000001);
}
/* clear the vblank interrupt */
void clear_vbi(vuint32 * regs)
static void clear_vbi(vuint32 * regs)
{
NV_REG32(NV32_CRTC_INTS) = 0x00000001;
}
void enable_vbi(vuint32 * regs)
static void enable_vbi(vuint32 * regs)
{
/* clear the vblank interrupt */
NV_REG32(NV32_CRTC_INTS) = 0x00000001;
@@ -265,7 +265,7 @@ void enable_vbi(vuint32 * regs)
NV_REG32(NV32_MAIN_INTE) = 0x00000001;
}
void disable_vbi(vuint32 * regs)
static void disable_vbi(vuint32 * regs)
{
/* disable nVidia interrupt source vblank */
NV_REG32(NV32_CRTC_INTE) &= 0xfffffffe;