[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] new file lib/strftime.h
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] new file lib/strftime.h |
Date: |
Fri, 06 Aug 2004 15:09:44 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
I installed this change from coreutils. Actually, there's one line
of change from coreutils: this file includes <time.h>, for size_t
and struct tm.
2004-08-06 Paul Eggert <address@hidden>
* modules/strftime: Add lib/strftime.h.
* lib/strftime.h: New file.
Index: strftime
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strftime,v
retrieving revision 1.7
retrieving revision 1.8
diff -p -u -r1.7 -r1.8
--- strftime 18 Apr 2004 18:12:50 -0000 1.7
+++ strftime 6 Aug 2004 22:07:15 -0000 1.8
@@ -2,6 +2,7 @@ Description:
nstrftime() function: convert date and time to string, with GNU extensions.
Files:
+lib/strftime.h
lib/strftime.c
m4/mbstate_t.m4
m4/tm_gmtoff.m4
--- /dev/null 2003-03-18 13:55:57 -0800
+++ lib/strftime.h 2004-08-06 15:06:34 -0700
@@ -0,0 +1,21 @@
+/* declarations for strftime.c
+
+ Copyright (C) 2002, 2004 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#include <time.h>
+
+size_t nstrftime (char *, size_t, char const *, struct tm const *, int, int);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] new file lib/strftime.h,
Paul Eggert <=