SCCS-vsn: local/sccscmds/sccscmds.2/com/date_ab.c 4.6
SCCS-vsn: local/sccscmds/sccscmds.ok/com/date_ab.c 4.6
# include "../hdr/macros.h"
# include <tzfile.h>
# include "../hdr/macros.h"
# include <tzfile.h>
-static char Sccsid[] = "@(#)date_ab.c 4.5 %G%";
+static char Sccsid[] = "@(#)date_ab.c 4.6 %G%";
/*
Function to convert date in the form "yymmddhhmmss" to
/*
Function to convert date in the form "yymmddhhmmss" to
Function returns -1 if bad time is given (i.e., "730229").
*/
Function returns -1 if bad time is given (i.e., "730229").
*/
-#define dysize(year) (isleap(year) ? DAYS_PER_LYEAR : DAYS_PER_NYEAR)
+#define dysize(year) (isleap(year) ? DAYSPERLYEAR : DAYSPERNYEAR)
# include "../hdr/macros.h"
# include <tzfile.h>
# include "../hdr/macros.h"
# include <tzfile.h>
-static char Sccsid[] = "@(#)date_ab.c 4.5 %G%";
+static char Sccsid[] = "@(#)date_ab.c 4.6 %G%";
/*
Function to convert date in the form "yymmddhhmmss" to
/*
Function to convert date in the form "yymmddhhmmss" to
Function returns -1 if bad time is given (i.e., "730229").
*/
Function returns -1 if bad time is given (i.e., "730229").
*/
-#define dysize(year) (isleap(year) ? DAYS_PER_LYEAR : DAYS_PER_NYEAR)
+#define dysize(year) (isleap(year) ? DAYSPERLYEAR : DAYSPERNYEAR)