X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcalendar.h;h=5535690447ee1c55f24dc3383bca27ddb6aa8931;hb=905015f340600bf5ff9f9e1e2202b043e653f9f9;hp=06d2fd3a49b0f350b1015e05fc8fa41223421304;hpb=38f8cf3544615efabc0913ebd00fdf6053cf294d;p=pspp diff --git a/src/data/calendar.h b/src/data/calendar.h index 06d2fd3a49..5535690447 100644 --- a/src/data/calendar.h +++ b/src/data/calendar.h @@ -1,10 +1,7 @@ #ifndef CALENDAR_H #define CALENDAR_H 1 -typedef void calendar_error_func (void *aux, const char *, ...); - -double calendar_gregorian_to_offset (int y, int m, int d, - calendar_error_func *, void *aux); +double calendar_gregorian_to_offset (int y, int m, int d, char **errorp); void calendar_offset_to_gregorian (int ofs, int *y, int *m, int *d, int *yd); int calendar_offset_to_year (int ofs); int calendar_offset_to_month (int ofs);