Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
229ad83bf8
commit
4fb62d981c
@ -75,13 +75,13 @@ static void scrup(void)
|
|||||||
unsigned long i;
|
unsigned long i;
|
||||||
|
|
||||||
// move the screen up one
|
// move the screen up one
|
||||||
memcpy((void *)origin, (void *)origin+2*COLUMNS, 2*(LINES-1)*COLUMNS);
|
memcpy((void *)origin, (void *)(origin + 2 * COLUMNS), 2 * (LINES - 1) * COLUMNS);
|
||||||
|
|
||||||
// set the new position to the beginning of the last line
|
// set the new position to the beginning of the last line
|
||||||
pos = origin + (LINES-1)*COLUMNS*2;
|
pos = origin + (LINES-1)*COLUMNS*2;
|
||||||
|
|
||||||
// clear the bottom line
|
// clear the bottom line
|
||||||
for(i = pos; i < scr_end; i += 2) {
|
for (i = pos; i < scr_end; i += 2) {
|
||||||
*(unsigned short *)i = 0x0720;
|
*(unsigned short *)i = 0x0720;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -163,13 +163,6 @@ static status_t console_freecookie(void * cookie)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static status_t console_seek(void * cookie, off_t pos, int st)
|
|
||||||
{
|
|
||||||
// dprintf("console_seek: entry\n");
|
|
||||||
|
|
||||||
return EPERM;
|
|
||||||
}
|
|
||||||
|
|
||||||
static status_t console_close(void * cookie)
|
static status_t console_close(void * cookie)
|
||||||
{
|
{
|
||||||
// dprintf("console_close: entry\n");
|
// dprintf("console_close: entry\n");
|
||||||
|
@ -257,14 +257,6 @@ console_freecookie(void * cookie)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static status_t console_seek(void * cookie, off_t pos, int st)
|
|
||||||
{
|
|
||||||
// dprintf("console_seek: entry\n");
|
|
||||||
|
|
||||||
return EPERM;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
console_close(void * cookie)
|
console_close(void * cookie)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user