summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/fakesdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/fakesdio.h')
-rw-r--r--gnu/usr.bin/perl/fakesdio.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/gnu/usr.bin/perl/fakesdio.h b/gnu/usr.bin/perl/fakesdio.h
index 094fd006c3e..8ef89e9ca5d 100644
--- a/gnu/usr.bin/perl/fakesdio.h
+++ b/gnu/usr.bin/perl/fakesdio.h
@@ -1,6 +1,6 @@
/* fakestdio.h
*
- * Copyright (C) 2000, by Larry Wall and others
+ * Copyright (c) 2000-2002, Larry Wall
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -55,17 +55,6 @@
#undef tmpfile
#undef ungetc
#undef vfprintf
-#undef printf
-
-/* printf used to live in perl.h like this - more sophisticated
- than the rest
- */
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(PERL_GCC_PEDANTIC)
-#define printf(fmt,args...) PerlIO_stdoutf(fmt,##args)
-#else
-#define printf PerlIO_stdoutf
-#endif
-
#define fprintf PerlIO_printf
#define stdin PerlIO_stdin()
#define stdout PerlIO_stdout()
@@ -122,12 +111,3 @@
#define fscanf _CANNOT _fscanf_
#define fgets(s,n,f) _CANNOT _fgets_
-/*
- * Local variables:
- * c-indentation-style: bsd
- * c-basic-offset: 4
- * indent-tabs-mode: nil
- * End:
- *
- * ex: set ts=8 sts=4 sw=4 et:
- */