Mercurial > hg > octave-kai > gnulib-hg
view lib/getdate.h @ 8223:ca249819379f
* lib/getdate.h (includes): Include <time.h>, not "timespec.h".
* lib/stat-time.h (includes): Likewise.
* lib/utimecmp.c (includes): Likewise.
* lib/utimens.h (includes): Likewise.
* lib/getdate.y (includes): Also include "timespec.h" for use
internal to the module.
* modules/utimens (Depends-on): Revert yesterday's patch.
* modules/nanosleep (Depends-on): Add missing dependency.
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Fri, 23 Feb 2007 18:25:21 +0000 |
parents | 96c32553b4c6 |
children | bbbbbf4cd1c5 |
line wrap: on
line source
/* Parse a string into an internal time stamp. Copyright (C) 1995, 1997, 1998, 2003, 2004, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <stdbool.h> #include <time.h> bool get_date (struct timespec *, char const *, struct timespec const *);