This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove spurious LINT: directives
[metaconfig.git] / U / threads / d_ttyname_r.U
index b661089..ed21ae7 100644 (file)
@@ -1,12 +1,12 @@
 ?RCS: $Id: d_ttyname_r.U,v 0RCS:
-?RCS: Copyright (c) 2002 Jarkko Hietaniemi
+?RCS: Copyright (c) 2002,2003 Jarkko Hietaniemi
 ?RCS:
 ?RCS: You may distribute under the terms of either the GNU General Public
 ?RCS: License or the Artistic License, as specified in the README file.
 ?RCS:
 ?RCS: Generated by the reentr.pl from the Perl 5.8 distribution.
 ?RCS:
-?MAKE:d_ttyname_r ttyname_r_proto: Inlibc Protochk Hasproto i_systypes i_systime i_unistd usethreads
+?MAKE:d_ttyname_r ttyname_r_proto: Inlibc Protochk Hasproto i_systypes usethreads i_unistd
 ?MAKE: -pick add $@ %<
 ?S:d_ttyname_r:
 ?S:    This variable conditionally defines the HAS_TTYNAME_R symbol,
@@ -15,6 +15,9 @@
 ?S:.
 ?S:ttyname_r_proto:
 ?S:    This variable encodes the prototype of ttyname_r.
+?S:    It is zero if d_ttyname_r is undef, and one of the
+?S:    REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
+?S:    is defined.
 ?S:.
 ?C:HAS_TTYNAME_R:
 ?C:    This symbol, if defined, indicates that the ttyname_r routine
 ?C:.
 ?C:TTYNAME_R_PROTO:
 ?C:    This symbol encodes the prototype of ttyname_r.
+?C:    It is zero if d_ttyname_r is undef, and one of the
+?C:    REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
+?C:    is defined.
 ?C:.
 ?H:#$d_ttyname_r HAS_TTYNAME_R    /**/
 ?H:#define TTYNAME_R_PROTO $ttyname_r_proto       /**/
 ?H:.
 ?T:try hdrs d_ttyname_r_proto
-?LINT:set d_ttyname_r
-?LINT:set ttyname_r_proto
 : see if ttyname_r exists
 set ttyname_r d_ttyname_r
 eval $inlibc
 case "$d_ttyname_r" in
 "$define")
        hdrs="$i_systypes sys/types.h define stdio.h $i_unistd unistd.h"
-       case "unistd" in
-       time)
-               hdrs="$hdrs $i_systime sys/time.h"
-               ;;
-       esac
        case "$d_ttyname_r_proto:$usethreads" in
        ":define")      d_ttyname_r_proto=define
                set d_ttyname_r_proto ttyname_r $hdrs