diff options
author | Sebastian Wilhelmi <wilhelmi@ira.uka.de> | 1998-12-02 09:07:18 +0000 |
---|---|---|
committer | Sebastian Wilhelmi <wilhelmi@src.gnome.org> | 1998-12-02 09:07:18 +0000 |
commit | c8477277fec2943a203242cf6bf5c43c9a141693 (patch) | |
tree | a43ad39491133b65885e316eb25bc1a4333b4618 /gdate.c | |
parent | e37b4d00a4c97ed68050a769a6de9cc079a49066 (diff) |
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.
Diffstat (limited to 'gdate.c')
-rw-r--r-- | gdate.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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) { |