tests: port from g_test_trap_subprocess() to g_test_trap_fork()
[platform/upstream/glib.git] / tests / testgdateparser.c
index f0e284a..4736379 100644 (file)
 #include <string.h>
 #include <locale.h>
 
-void g_date_debug_print(GDate* d)
-{
-  if (!d) g_print("NULL!\n");
-  else 
-    g_print("julian: %u (%s) DMY: %u %u %u (%s)\n",
-           d->julian_days, 
-           d->julian ? "valid" : "invalid",
-           d->day,
-           d->month,
-           d->year,
-           d->dmy ? "valid" : "invalid");
-  
-  fflush(stdout);
-}
-
 /* These only work in the POSIX locale, maybe C too - 
  * type POSIX into the program to check them
  */