/[pkgs]/devel/perl/16_fix_perlio_teardown_prototype
ViewVC logotype

Contents of /devel/perl/16_fix_perlio_teardown_prototype

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Mar 11 22:01:05 2009 UTC (8 months, 1 week ago) by spot
Branch: MAIN
CVS Tags: F-12-split, perl-5_10_0-63_fc11, perl-5_10_0-61_fc11, perl-5_10_0-80_fc12, perl-5_10_0-81_fc12, perl-5_10_0-84_fc13, perl-5_10_0-82_fc13, perl-5_10_0-77_fc12, perl-5_10_0-83_fc13, perl-5_10_0-71_fc12, perl-5_10_0-75_fc12, perl-5_10_0-73_fc12, perl-5_10_0-68_fc11, perl-5_10_0-67_fc11, perl-5_10_0-64_fc11, perl-5_10_0-72_fc12, F-11-split, perl-5_10_0-62_fc11, perl-5_10_0-69_fc12, perl-5_10_0-79_fc12, perl-5_10_0-78_fc12, perl-5_10_0-70_fc12, perl-5_10_0-74_fc12, perl-5_10_0-66_fc11, perl-5_10_0-65_fc11, perl-5_10_0-76_fc12, HEAD
reorder @INC, fix bz 489204, merge useful debian patches
1 Fix the PerlIO_teardown prototype to suppress a compiler warning. (Closes: #479540)
2
3 Part of upstream change 33370, also in maint-5.10.
4 diff --git a/perl.h b/perl.h
5 index e48f768..abcae45 100644
6 --- a/perl.h
7 +++ b/perl.h
8 @@ -3966,7 +3966,7 @@ typedef Sighandler_t Sigsave_t;
9 #endif
10
11 #ifdef USE_PERLIO
12 -EXTERN_C void PerlIO_teardown();
13 +EXTERN_C void PerlIO_teardown(void);
14 # ifdef USE_ITHREADS
15 # define PERLIO_INIT MUTEX_INIT(&PL_perlio_mutex)
16 # define PERLIO_TERM \
17 diff --git a/perlio.c b/perlio.c
18 index 76fe225..b94acb0 100644
19 --- a/perlio.c
20 +++ b/perlio.c
21 @@ -2413,7 +2413,7 @@ PerlIO_cleanup(pTHX)
22 }
23 }
24
25 -void PerlIO_teardown() /* Call only from PERL_SYS_TERM(). */
26 +void PerlIO_teardown(void) /* Call only from PERL_SYS_TERM(). */
27 {
28 dVAR;
29 #if 0
30 diff --git a/perliol.h b/perliol.h
31 index 756db2d..caba999 100644
32 --- a/perliol.h
33 +++ b/perliol.h
34 @@ -170,7 +170,7 @@ PERL_EXPORT_C void PerlIO_list_free(pTHX_ PerlIO_list_t *list);
35
36 /* PerlIO_teardown doesn't need exporting, but the EXTERN_C is needed
37 * for compiling as C++. Must also match with what perl.h says. */
38 -EXTERN_C void PerlIO_teardown();
39 +EXTERN_C void PerlIO_teardown(void);
40
41 /*--------------------------------------------------------------------------------------*/
42 /* Generic, or stub layer functions */

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2