projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sys-file-reader: Elevate invalid number of labels from warning to error.
[pspp-builds.git]
/
src
/
data
/
calendar.h
diff --git
a/src/data/calendar.h
b/src/data/calendar.h
index f46e71fec0b8c32fb97b763598176a8a63bfe533..5535690447ee1c55f24dc3383bca27ddb6aa8931 100644
(file)
--- a/
src/data/calendar.h
+++ b/
src/data/calendar.h
@@
-1,10
+1,7
@@
#ifndef CALENDAR_H
#define CALENDAR_H 1
#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);
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);
@@
-12,4
+9,6
@@
int calendar_offset_to_mday (int ofs);
int calendar_offset_to_yday (int ofs);
int calendar_offset_to_wday (int ofs);
int calendar_offset_to_yday (int ofs);
int calendar_offset_to_wday (int ofs);
+int calendar_days_in_month (int y, int m);
+
#endif /* calendar.h */
#endif /* calendar.h */