mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
changed `gpointer struct_tm_p' parameter of g_date_to_struct_tm back to
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.
This commit is contained in:
parent
e37b4d00a4
commit
c8477277fe
@ -1,3 +1,11 @@
|
||||
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:
|
||||
|
@ -1,3 +1,11 @@
|
||||
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:
|
||||
|
@ -1,3 +1,11 @@
|
||||
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:
|
||||
|
@ -1,3 +1,11 @@
|
||||
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:
|
||||
|
@ -1,3 +1,11 @@
|
||||
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:
|
||||
|
@ -1,3 +1,11 @@
|
||||
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:
|
||||
|
@ -1,3 +1,11 @@
|
||||
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:
|
||||
|
@ -1,3 +1,11 @@
|
||||
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:
|
||||
|
7
gdate.c
7
gdate.c
@ -1212,16 +1212,13 @@ g_date_compare (GDate *lhs,
|
||||
|
||||
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)
|
||||
{
|
||||
|
4
glib.h
4
glib.h
@ -2218,9 +2218,11 @@ guint8 g_date_sunday_weeks_in_year (GDateYear year);
|
||||
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.
|
||||
|
@ -1212,16 +1212,13 @@ g_date_compare (GDate *lhs,
|
||||
|
||||
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)
|
||||
{
|
||||
|
@ -2218,9 +2218,11 @@ guint8 g_date_sunday_weeks_in_year (GDateYear year);
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user