From ec0a208a6ef7a6b67c2f2d3b23c848ed60922da6 Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Sat, 9 Dec 2017 23:34:00 +0000 Subject: pw(8): correct expiration period handling and command line overrides to preconfigured values for -e, -p and -w flags. Use non-negative symbols instead of magic values in passwd_val/pw_password functions. PR: 223431 Submitted by: Yuri Pankov (in part, patch for the manual) Reported by: mav (mentor) MFC after: 3 days Relnotes: yes --- pw/psdate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pw/psdate.h') diff --git a/pw/psdate.h b/pw/psdate.h index bb71da3..29bfb33 100644 --- a/pw/psdate.h +++ b/pw/psdate.h @@ -35,6 +35,7 @@ #include __BEGIN_DECLS +int numerics(char const * str); time_t parse_date(time_t dt, char const * str); void print_date(char *buf, time_t t, int dotime); __END_DECLS -- cgit v1.2.3