diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2007-05-07 11:18:30 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2007-05-07 11:18:30 +0000 |
commit | dda0e5cbe44df7bcc04ee2a206e4a3095780e447 (patch) | |
tree | 1403ca4aa64143cc949c3e1b7a10cedbeff4f506 /usr.bin/calendar/ostern.c | |
parent | 1e0d0fa4b98797bd9bc398af86558c7983981adf (diff) | |
download | FreeBSD-src-dda0e5cbe44df7bcc04ee2a206e4a3095780e447.zip FreeBSD-src-dda0e5cbe44df7bcc04ee2a206e4a3095780e447.tar.gz |
ANSIfy function definitions.
Move some extern declarations to a header file.
Remove an unneeded extern declaration for optarg.
Diffstat (limited to 'usr.bin/calendar/ostern.c')
-rw-r--r-- | usr.bin/calendar/ostern.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/calendar/ostern.c b/usr.bin/calendar/ostern.c index f000f7d..833d623 100644 --- a/usr.bin/calendar/ostern.c +++ b/usr.bin/calendar/ostern.c @@ -43,8 +43,8 @@ __FBSDID("$FreeBSD$"); * Astronomical Almanac". */ -int easter (year) - int year; /* 0 ... abcd, NOT since 1900 */ +int +easter(int year) /* 0 ... abcd, NOT since 1900 */ { int G, /* Golden number - 1 */ C, /* Century */ @@ -73,12 +73,9 @@ int easter (year) */ int -geteaster(s, year) - char *s; - int year; +geteaster(char *s, int year) { int offset = 0; - extern struct fixs neaster; #define EASTER "easter" #define EASTERNAMELEN (sizeof(EASTER) - 1) |