summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-08-27 09:42:01 -0600
committerKarl Williamson <khw@cpan.org>2020-09-05 17:31:10 -0600
commit59e77c34ccc302b2ce084881d16fff7e91f4abf5 (patch)
treeab5c7274bb1cb21b7703267e772941c3fc798787
parentca336c50d51a55c35bc2a7636ff67f8e3ae492dd (diff)
downloadperl-59e77c34ccc302b2ce084881d16fff7e91f4abf5.tar.gz
Document mini_mktime
-rw-r--r--embed.fnc2
-rw-r--r--util.c8
2 files changed, 7 insertions, 3 deletions
diff --git a/embed.fnc b/embed.fnc
index 366edb8446..f799e8097f 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1371,7 +1371,7 @@ ApdD |U32 |mg_length |NN SV* sv
ApdT |void |mg_magical |NN SV* sv
Apd |int |mg_set |NN SV* sv
Ap |I32 |mg_size |NN SV* sv
-ApT |void |mini_mktime |NN struct tm *ptm
+AdpT |void |mini_mktime |NN struct tm *ptm
Axmd |OP* |op_lvalue |NULLOK OP* o|I32 type
poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
pd |void |finalize_optree |NN OP* o
diff --git a/util.c b/util.c
index 18ef553867..3d8f948bcb 100644
--- a/util.c
+++ b/util.c
@@ -3802,8 +3802,12 @@ Perl_init_tm(pTHX_ struct tm *ptm) /* see mktime, strftime and asctime */
}
/*
- * mini_mktime - normalise struct tm values without the localtime()
- * semantics (and overhead) of mktime().
+=for apidoc_section Time
+=for apidoc mini_mktime
+normalise S<C<struct tm>> values without the localtime() semantics (and
+overhead) of mktime().
+
+=cut
*/
void
Perl_mini_mktime(struct tm *ptm)