File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const char *prog = "strptime";
5454
5555
5656static int
57- pars_line (struct tm * tm , const char * const * fmt , size_t nfmt , const char * line )
57+ pars_line (struct tm * tm , char * const * fmt , size_t nfmt , const char * line )
5858{
5959 for (size_t i = 0 ; i < nfmt ; i ++ ) {
6060 if (fmt [i ] && strptime (line , fmt [i ], tm ) != NULL ) {
@@ -75,7 +75,7 @@ prnt_line(const char *ofmt, struct tm *tm)
7575
7676static int
7777proc_line (
78- const char * ln , const char * const * fmt , size_t nfmt ,
78+ const char * ln , char * const * fmt , size_t nfmt ,
7979 const char * ofmt ,
8080 int quietp )
8181{
@@ -94,7 +94,7 @@ proc_line(
9494}
9595
9696static int
97- proc_lines (const char * const * fmt , size_t nfmt , const char * ofmt , int quietp )
97+ proc_lines (char * const * fmt , size_t nfmt , const char * ofmt , int quietp )
9898{
9999 size_t lno = 0 ;
100100 int rc = 0 ;
You can’t perform that action at this time.
0 commit comments