summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-08-29 14:07:45 -0600
committerKarl Williamson <khw@cpan.org>2020-12-06 09:05:49 -0700
commit8528a39b09a32d3edc0074e50a82c3ffafef7016 (patch)
treeef93ed7b2b6e31c107b85351567335802377aa49 /proto.h
parent574e093e57e1827b81a7bf2268758cd1af293649 (diff)
downloadperl-8528a39b09a32d3edc0074e50a82c3ffafef7016.tar.gz
Remove my_l?stat from public API
They are not documented, and if you try to use them, you get a compile error.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/proto.h b/proto.h
index 5015f249ef..46e69cc206 100644
--- a/proto.h
+++ b/proto.h
@@ -2156,10 +2156,8 @@ PERL_CALLCONV I32 Perl_my_fflush_all(pTHX);
#define PERL_ARGS_ASSERT_MY_FFLUSH_ALL
PERL_CALLCONV Pid_t Perl_my_fork(void);
#define PERL_ARGS_ASSERT_MY_FORK
-#ifndef NO_MATHOMS
-PERL_CALLCONV I32 Perl_my_lstat(pTHX);
+/* PERL_CALLCONV I32 my_lstat(pTHX); */
#define PERL_ARGS_ASSERT_MY_LSTAT
-#endif
PERL_CALLCONV I32 Perl_my_lstat_flags(pTHX_ const U32 flags);
#define PERL_ARGS_ASSERT_MY_LSTAT_FLAGS
PERL_CALLCONV int Perl_my_mkostemp_cloexec(char *templte, int flags)
@@ -2184,10 +2182,8 @@ PERL_CALLCONV int Perl_my_snprintf(char *buffer, const Size_t len, const char *f
PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[2]);
#define PERL_ARGS_ASSERT_MY_SOCKETPAIR
-#ifndef NO_MATHOMS
-PERL_CALLCONV I32 Perl_my_stat(pTHX);
+/* PERL_CALLCONV I32 my_stat(pTHX); */
#define PERL_ARGS_ASSERT_MY_STAT
-#endif
PERL_CALLCONV I32 Perl_my_stat_flags(pTHX_ const U32 flags);
#define PERL_ARGS_ASSERT_MY_STAT_FLAGS
PERL_CALLCONV char* Perl_my_strerror(pTHX_ const int errnum);