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,7 +75,7 @@ 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;
|
||||
@ -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");
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user