Mercurial > octave-nkf
changeset 3786:9bb6e4197fc5
[project @ 2001-02-07 18:14:43 by jwe]
author | jwe |
---|---|
date | Wed, 07 Feb 2001 18:14:43 +0000 |
parents | a8f572c03a7c |
children | 5fea33691021 |
files | liboctave/ChangeLog liboctave/lo-cutils.c |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog Wed Feb 07 17:26:16 2001 +0000 +++ b/liboctave/ChangeLog Wed Feb 07 18:14:43 2001 +0000 @@ -1,3 +1,8 @@ +2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> + + * lo-cutils.c: Don't declare strptime. + (oct_strptime): Cast return type of strptime to char*. + 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args.
--- a/liboctave/lo-cutils.c Wed Feb 07 17:26:16 2001 +0000 +++ b/liboctave/lo-cutils.c Wed Feb 07 18:14:43 2001 +0000 @@ -34,12 +34,10 @@ qsort (base, n, size, cmp); } -extern char *strptime (); - char * oct_strptime (const char *buf, const char *format, struct tm *tm) { - return strptime (buf, format, tm); + return (char *) strptime (buf, format, tm); }