X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlio.h;h=754bb57336f0b4813640255b135f09a174d836b7;hb=5838c20cbc655050024f8cc4f3747da54d859745;hp=99590196f0036675a59990c75209e08795a21c05;hpb=1e56004eea7f1084f781747a68eb85600bd4218f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlio.h b/perlio.h index 9959019..754bb57 100644 --- a/perlio.h +++ b/perlio.h @@ -1,6 +1,7 @@ /* perlio.h * - * Copyright (c) 1997-2002, Larry Wall + * Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, + * by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -107,6 +108,7 @@ extern PerlIO_funcs *PerlIO_find_layer(pTHX_ const char *name, STRLEN len, extern PerlIO *PerlIO_push(pTHX_ PerlIO *f, PerlIO_funcs *tab, const char *mode, SV *arg); extern void PerlIO_pop(pTHX_ PerlIO *f); +extern AV* PerlIO_get_layers(pTHX_ PerlIO *f); extern void PerlIO_clone(pTHX_ PerlInterpreter *proto, CLONE_PARAMS *param); #endif /* PerlIO */ @@ -206,10 +208,7 @@ extern void PerlIO_init(pTHX); #endif #ifndef PerlIO_stdoutf extern int PerlIO_stdoutf(const char *, ...) -#ifdef CHECK_FORMAT - __attribute__ ((__format__(__printf__, 1, 2))) -#endif -; + __attribute__format__(__printf__, 1, 2); #endif #ifndef PerlIO_puts extern int PerlIO_puts(PerlIO *, const char *); @@ -269,17 +268,11 @@ extern void PerlIO_setlinebuf(PerlIO *); #endif #ifndef PerlIO_printf extern int PerlIO_printf(PerlIO *, const char *, ...) -#ifdef CHECK_FORMAT - __attribute__ ((__format__(__printf__, 2, 3))) -#endif -; + __attribute__format__(__printf__, 2, 3); #endif #ifndef PerlIO_sprintf extern int PerlIO_sprintf(char *, int, const char *, ...) -#ifdef CHECK_FORMAT - __attribute__ ((__format__(__printf__, 3, 4))) -#endif -; + __attribute__format__(__printf__, 3, 4); #endif #ifndef PerlIO_vprintf extern int PerlIO_vprintf(PerlIO *, const char *, va_list);