This commit is contained in:
David Rose 2003-02-06 23:54:30 +00:00
parent 4a521ba916
commit 264e112fad

View File

@ -116,7 +116,7 @@ static toff_t
istream_seek(thandle_t fd, off_t off, int whence) { istream_seek(thandle_t fd, off_t off, int whence) {
istream *in = (istream *)fd; istream *in = (istream *)fd;
ios::seek_dir dir; ios_seekdir dir;
switch (whence) { switch (whence) {
case SEEK_SET: case SEEK_SET:
dir = ios::beg; dir = ios::beg;
@ -142,7 +142,7 @@ static toff_t
ostream_seek(thandle_t fd, off_t off, int whence) { ostream_seek(thandle_t fd, off_t off, int whence) {
ostream *out = (ostream *)fd; ostream *out = (ostream *)fd;
ios::seek_dir dir; ios_seekdir dir;
switch (whence) { switch (whence) {
case SEEK_SET: case SEEK_SET:
dir = ios::beg; dir = ios::beg;