Skip to content

Commit ce559cb

Browse files
committed
regen/reentr.pl: White-space, comment
1 parent df145d8 commit ce559cb

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

reentr.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,6 @@ typedef struct {
16971697

16981698
#endif /* USE_REENTRANT_API */
16991699

1700-
#endif
1700+
#endif /* File hasn't already been #included */
17011701

17021702
/* ex: set ro ft=c: */

regen/reentr.pl

+6-3
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ sub open_print_header {
297297
define)
298298
EOF
299299
}
300+
301+
# Process the prototypes
300302
for my $p (@p) {
301303
my ($r, $a) = ($p =~ /^(.)_(.+)/);
302304
my $v = join(", ", map { $m{$_} } split '', $a);
@@ -763,13 +765,14 @@ sub define {
763765
# endif
764766
EOF
765767
}
766-
push @wrap, <<EOF;
768+
769+
push @wrap, <<EOF;
767770
# if defined($func)
768771
# define PERL_REENTR_USING_${FUNC}_R
769772
# endif
770773
EOF
771774

772-
push @wrap, <<EOF; # defined(PERL_REENTR_API) && (PERL_REENTR_API+0 == 1)
775+
push @wrap, <<EOF; # defined(PERL_REENTR_API) && (PERL_REENTR_API+0 == 1)
773776
# endif
774777
EOF
775778

@@ -801,7 +804,7 @@ sub define {
801804
802805
#endif /* USE_REENTRANT_API */
803806
804-
#endif
807+
#endif /* File hasn't already been #included */
805808
EOF
806809

807810
read_only_bottom_close_and_rename($h);

0 commit comments

Comments
 (0)