Deleted Added
full compact
msdosfs_conv.c (11921) msdosfs_conv.c (12144)
1/* $Id: msdosfs_conv.c,v 1.5 1995/05/30 08:07:36 rgrimes Exp $ */
1/* $Id: msdosfs_conv.c,v 1.6 1995/10/29 15:31:46 phk Exp $ */
2/* $NetBSD: msdosfs_conv.c,v 1.6.2.1 1994/08/30 02:27:57 cgd Exp $ */
3
4/*
5 * Written by Paul Popelka (paulp@uts.amdahl.com)
6 *
7 * You can do anything you want with this software, just don't say you wrote
8 * it, and don't remove this notice.
9 *

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

29/*
30 * MSDOSFS include files.
31 */
32#include <msdosfs/direntry.h>
33
34/*
35 * Total number of days that have passed for each month in a regular year.
36 */
2/* $NetBSD: msdosfs_conv.c,v 1.6.2.1 1994/08/30 02:27:57 cgd Exp $ */
3
4/*
5 * Written by Paul Popelka (paulp@uts.amdahl.com)
6 *
7 * You can do anything you want with this software, just don't say you wrote
8 * it, and don't remove this notice.
9 *

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

29/*
30 * MSDOSFS include files.
31 */
32#include <msdosfs/direntry.h>
33
34/*
35 * Total number of days that have passed for each month in a regular year.
36 */
37u_short regyear[] = {
37static u_short regyear[] = {
38 31, 59, 90, 120, 151, 181,
39 212, 243, 273, 304, 334, 365
40};
41
42/*
43 * Total number of days that have passed for each month in a leap year.
44 */
38 31, 59, 90, 120, 151, 181,
39 212, 243, 273, 304, 334, 365
40};
41
42/*
43 * Total number of days that have passed for each month in a leap year.
44 */
45u_short leapyear[] = {
45static u_short leapyear[] = {
46 31, 60, 91, 121, 152, 182,
47 213, 244, 274, 305, 335, 366
48};
49
50/*
51 * Variables used to remember parts of the last time conversion. Maybe we
52 * can avoid a full conversion.
53 */

--- 303 unchanged lines hidden ---
46 31, 60, 91, 121, 152, 182,
47 213, 244, 274, 305, 335, 366
48};
49
50/*
51 * Variables used to remember parts of the last time conversion. Maybe we
52 * can avoid a full conversion.
53 */

--- 303 unchanged lines hidden ---