+1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib.h:
+ * gdate.c: changed `gpointer struct_tm_p' parameter of
+ g_date_to_struct_tm back to `struct tm *tm' and forward declared
+ `struct tm' in glib.h; yes, this is nice, we still need not
+ include time.h.
+
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
+1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib.h:
+ * gdate.c: changed `gpointer struct_tm_p' parameter of
+ g_date_to_struct_tm back to `struct tm *tm' and forward declared
+ `struct tm' in glib.h; yes, this is nice, we still need not
+ include time.h.
+
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
+1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib.h:
+ * gdate.c: changed `gpointer struct_tm_p' parameter of
+ g_date_to_struct_tm back to `struct tm *tm' and forward declared
+ `struct tm' in glib.h; yes, this is nice, we still need not
+ include time.h.
+
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
+1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib.h:
+ * gdate.c: changed `gpointer struct_tm_p' parameter of
+ g_date_to_struct_tm back to `struct tm *tm' and forward declared
+ `struct tm' in glib.h; yes, this is nice, we still need not
+ include time.h.
+
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
+1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib.h:
+ * gdate.c: changed `gpointer struct_tm_p' parameter of
+ g_date_to_struct_tm back to `struct tm *tm' and forward declared
+ `struct tm' in glib.h; yes, this is nice, we still need not
+ include time.h.
+
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
+1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib.h:
+ * gdate.c: changed `gpointer struct_tm_p' parameter of
+ g_date_to_struct_tm back to `struct tm *tm' and forward declared
+ `struct tm' in glib.h; yes, this is nice, we still need not
+ include time.h.
+
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
+1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib.h:
+ * gdate.c: changed `gpointer struct_tm_p' parameter of
+ g_date_to_struct_tm back to `struct tm *tm' and forward declared
+ `struct tm' in glib.h; yes, this is nice, we still need not
+ include time.h.
+
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
+1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib.h:
+ * gdate.c: changed `gpointer struct_tm_p' parameter of
+ g_date_to_struct_tm back to `struct tm *tm' and forward declared
+ `struct tm' in glib.h; yes, this is nice, we still need not
+ include time.h.
+
Tue Dec 1 23:01:44 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* INSTALL:
void
g_date_to_struct_tm (GDate *d,
- gpointer struct_tm_p)
+ struct tm *tm)
{
GDateWeekday day;
- struct tm *tm;
g_return_if_fail (d != NULL);
g_return_if_fail (g_date_valid (d));
- g_return_if_fail (struct_tm_p != NULL);
-
- tm = struct_tm_p;
+ g_return_if_fail (tm != NULL);
if (!d->mdy)
{
gint g_date_compare (GDate *lhs,
GDate *rhs);
+/* make struct tm known without having to include time.h */
+struct tm;
void g_date_to_struct_tm (GDate *d,
- gpointer struct_tm_p);
+ struct tm *tm);
/* Just like strftime() except you can only use date-related formats.
* Using a time format is undefined.
void
g_date_to_struct_tm (GDate *d,
- gpointer struct_tm_p)
+ struct tm *tm)
{
GDateWeekday day;
- struct tm *tm;
g_return_if_fail (d != NULL);
g_return_if_fail (g_date_valid (d));
- g_return_if_fail (struct_tm_p != NULL);
-
- tm = struct_tm_p;
+ g_return_if_fail (tm != NULL);
if (!d->mdy)
{
gint g_date_compare (GDate *lhs,
GDate *rhs);
+/* make struct tm known without having to include time.h */
+struct tm;
void g_date_to_struct_tm (GDate *d,
- gpointer struct_tm_p);
+ struct tm *tm);
/* Just like strftime() except you can only use date-related formats.
* Using a time format is undefined.