summaryrefslogtreecommitdiffstats
path: root/lib/libcalendar/calendar.c
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.c
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.c')
-rw-r--r--lib/libcalendar/calendar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcalendar/calendar.c b/lib/libcalendar/calendar.c
index 41e79b2..ae36a4c 100644
--- a/lib/libcalendar/calendar.c
+++ b/lib/libcalendar/calendar.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: calendar.c,v 1.1.1.1 1997/12/04 10:41:49 helbig Exp $
*/
#include "calendar.h"
@@ -46,6 +46,8 @@ static int const month1[] =
static int const month1s[]=
{0, 31, 61, 92, 122, 153, 184, 214, 235, 265, 296, 327};
+typedef struct date date;
+
/* The last day of Julian calendar, in internal and ndays representation */
static int nswitch; /* The last day of Julian calendar */
static date jiswitch = {1582, 7, 3};
OpenPOWER on IntegriCloud