aboutsummaryrefslogtreecommitdiff
path: root/lib/libcalendar/calendar.c
diff options
context:
space:
mode:
authorWolfgang Helbig <helbig@FreeBSD.org>1997-12-13 11:51:16 +0000
committerWolfgang Helbig <helbig@FreeBSD.org>1997-12-13 11:51:16 +0000
commitfa1837702339667092ca19afec47972849aa88fb (patch)
treef7a4ce2c8c584f33bdfe85d36469a3b5656d2dd1 /lib/libcalendar/calendar.c
parentcae80f25d3d175da229825d64f7ad25ce5fa8433 (diff)
downloadsrc-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.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 41e79b27ba1b..ae36a4c87aef 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};