Fixed warnings.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-28 18:05:07 +00:00
parent 229ad83bf8
commit 4fb62d981c
2 changed files with 2 additions and 17 deletions

View File

@ -75,13 +75,13 @@ static void scrup(void)
unsigned long i;
// 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
pos = origin + (LINES-1)*COLUMNS*2;
// clear the bottom line
for(i = pos; i < scr_end; i += 2) {
for (i = pos; i < scr_end; i += 2) {
*(unsigned short *)i = 0x0720;
}
}
@ -163,13 +163,6 @@ static status_t console_freecookie(void * cookie)
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)
{
// dprintf("console_close: entry\n");

View File

@ -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
console_close(void * cookie)
{