summaryrefslogtreecommitdiff
path: root/gdate.c
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>1998-12-02 09:07:18 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>1998-12-02 09:07:18 +0000
commitc8477277fec2943a203242cf6bf5c43c9a141693 (patch)
treea43ad39491133b65885e316eb25bc1a4333b4618 /gdate.c
parente37b4d00a4c97ed68050a769a6de9cc079a49066 (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.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdate.c b/gdate.c
index b14d6d3e1..6de541cd9 100644
--- a/gdate.c
+++ b/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)
{