diff options
author | Wolfgang Helbig <helbig@FreeBSD.org> | 1997-12-13 11:51:16 +0000 |
---|---|---|
committer | Wolfgang Helbig <helbig@FreeBSD.org> | 1997-12-13 11:51:16 +0000 |
commit | fa1837702339667092ca19afec47972849aa88fb (patch) | |
tree | f7a4ce2c8c584f33bdfe85d36469a3b5656d2dd1 /lib/libcalendar/calendar.h | |
parent | cae80f25d3d175da229825d64f7ad25ce5fa8433 (diff) | |
download | src-fa1837702339667092ca19afec47972849aa88fb.tar.gz src-fa1837702339667092ca19afec47972849aa88fb.zip |
Delete "typedef ... date" (see style(9)).
In the man page Use ".Pp" instead of blank lines, adopt English
and stress that the Julian->Gregorian switch took place at
different dates in different countries.
Suggested by: Garrett.
Notes
Notes:
svn path=/head/; revision=31698
Diffstat (limited to 'lib/libcalendar/calendar.h')
-rw-r--r-- | lib/libcalendar/calendar.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libcalendar/calendar.h b/lib/libcalendar/calendar.h index 8be8d4997c41..2e432ed47cec 100644 --- a/lib/libcalendar/calendar.h +++ b/lib/libcalendar/calendar.h @@ -23,20 +23,20 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: calendar.h,v 1.1.1.1 1997/12/04 10:41:49 helbig Exp $ + * $Id: calendar.h,v 1.2 1997/12/07 19:04:11 helbig Exp $ */ -typedef struct date { +struct date { int y; /* year */ int m; /* month */ int d; /* day */ -} date; +}; -date *easterg(int _year, date *_dt); -date *easterog(int _year, date *_dt); -date *easteroj(int _year, date *_dt); -date *gdate(int _nd, date *_dt); -date *jdate(int _nd, date *_dt); -int ndaysg(date *_dt); -int ndaysj(date *_dt); -int week(int _nd, int *_year); -int weekday(int _nd); +struct date *easterg(int _year, struct date *_dt); +struct date *easterog(int _year, struct date *_dt); +struct date *easteroj(int _year, struct date *_dt); +struct date *gdate(int _nd, struct date *_dt); +struct date *jdate(int _nd, struct date *_dt); +int ndaysg(struct date *_dt); +int ndaysj(struct date *_dt); +int week(int _nd, int *_year); +int weekday(int _nd); |