summaryrefslogtreecommitdiffstats
path: root/lib/libcalendar/calendar.h
diff options
context:
space:
mode:
authorhelbig <helbig@FreeBSD.org>1997-12-13 11:51:16 +0000
committerhelbig <helbig@FreeBSD.org>1997-12-13 11:51:16 +0000
commitb1f57417ba98aa37c66d2590e22b8c523dfb98c6 (patch)
treee3235b9cf36a51ba71a5df4a659e2b9ad1db2858 /lib/libcalendar/calendar.h
parent6d4edda5c2691c4a14dc4540eb2a9468dcf04fd2 (diff)
downloadFreeBSD-src-b1f57417ba98aa37c66d2590e22b8c523dfb98c6.zip
FreeBSD-src-b1f57417ba98aa37c66d2590e22b8c523dfb98c6.tar.gz
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.
Diffstat (limited to 'lib/libcalendar/calendar.h')
-rw-r--r--lib/libcalendar/calendar.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libcalendar/calendar.h b/lib/libcalendar/calendar.h
index 8be8d49..2e432ed 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);
OpenPOWER on IntegriCloud