Deleted Added
full compact
calendar.h (251647) calendar.h (255715)
1/*-
2 * Copyright (c) 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/usr.bin/calendar/calendar.h 251647 2013-06-12 07:52:49Z grog $
29 * $FreeBSD: head/usr.bin/calendar/calendar.h 255715 2013-09-19 20:17:50Z db $
30 */
31
32#include <sys/types.h>
33#include <sys/uio.h>
34
35#define SECSPERDAY (24 * 60 * 60)
36#define SECSPERHOUR (60 * 60)
37#define SECSPERMINUTE (60)

--- 122 unchanged lines hidden (view full) ---

160
161/* parsedata.c */
162int parsedaymonth(char *, int *, int *, int *, int *, char **);
163void dodebug(char *type);
164
165/* io.c */
166void cal(void);
167void closecal(FILE *);
30 */
31
32#include <sys/types.h>
33#include <sys/uio.h>
34
35#define SECSPERDAY (24 * 60 * 60)
36#define SECSPERHOUR (60 * 60)
37#define SECSPERMINUTE (60)

--- 122 unchanged lines hidden (view full) ---

160
161/* parsedata.c */
162int parsedaymonth(char *, int *, int *, int *, int *, char **);
163void dodebug(char *type);
164
165/* io.c */
166void cal(void);
167void closecal(FILE *);
168FILE *opencal(void);
168FILE *opencalin(void);
169FILE *opencalout(void);
169
170
171/* calcpp.c */
172void initcpp(void);
173FILE *fincludegets(char *buf, int size, FILE *fp);
174
170/* ostern.c / paskha.c */
171int paskha(int);
172int easter(int);
173int j2g(int);
174
175/* dates.c */
176extern int cumdaytab[][14];
177extern int monthdaytab[][14];

--- 19 unchanged lines hidden ---
175/* ostern.c / paskha.c */
176int paskha(int);
177int easter(int);
178int j2g(int);
179
180/* dates.c */
181extern int cumdaytab[][14];
182extern int monthdaytab[][14];

--- 19 unchanged lines hidden ---