summaryrefslogtreecommitdiff
path: root/perlsfio.h
diff options
context:
space:
mode:
authorStas Bekman <stas@stason.org>2005-01-13 11:14:23 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-01-20 18:45:55 +0000
commit4810286bd9ecd424ad73c2c65693d1330ac2773f (patch)
treebc59375a77ef32b0c533c2985a872b937dfc662f /perlsfio.h
parent975e5341a976c641823830ca6420429bc44f629a (diff)
downloadperl-4810286bd9ecd424ad73c2c65693d1330ac2773f.tar.gz
[patch] cleanup perlsfio.h
Message-ID: <41E6E4AF.8070303@stason.org> p4raw-id: //depot/perl@23840
Diffstat (limited to 'perlsfio.h')
-rw-r--r--perlsfio.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/perlsfio.h b/perlsfio.h
index c5595c73ea..3d279d0c8a 100644
--- a/perlsfio.h
+++ b/perlsfio.h
@@ -49,20 +49,10 @@ extern int _stdprintf _ARG_((const char*, ...));
#define PerlIO_fileno(f) sffileno(f)
#define PerlIO_clearerr(f) sfclrerr(f)
#define PerlIO_flush(f) sfsync(f)
-#if 0
-/* This breaks tests */
-#define PerlIO_tell(f) sfseek(f,0,1|SF_SHARE)
-#else
#define PerlIO_tell(f) sftell(f)
-#endif
#define PerlIO_seek(f,o,w) sfseek(f,o,w)
#define PerlIO_rewind(f) (void) sfseek((f),0L,0)
#define PerlIO_tmpfile() sftmp(0)
-
-#if 0
-#define PerlIO_importFILE(f,fl) ((void) Perl_croak(aTHX_ "Import from FILE * unimplemented"), NULL)
-#define PerlIO_findFILE(f) NULL
-#endif
#define PerlIO_exportFILE(f,fl) Perl_croak(aTHX_ "Export to FILE * unimplemented")
#define PerlIO_releaseFILE(p,f) Perl_croak(aTHX_ "Release of FILE * unimplemented")