[BACK]Return to paskha.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / calendar

Diff for /src/usr.bin/calendar/paskha.c between version 1.2 and 1.7

version 1.2, 1998/12/13 07:31:08 version 1.7, 2015/03/15 00:41:28
Line 26 
Line 26 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
 #ifndef lint  
 static char rcsid[] = "$OpenBSD$";  
 #endif /* not lint */  
   
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  
 #include <string.h>  
 #include <time.h>  
 #include <tzfile.h>  
   
   #include "calendar.h"
   
 /* return year day for Orthodox Easter using Gauss formula */  /* return year day for Orthodox Easter using Gauss formula */
 /* (new style result); subtract 13 for old style */  /* (new style result); subtract 13 for old style */
   
 int  int
 paskha (R)  paskha(int R)  /*year*/
         int R;  /*year*/  
 {  {
         int a, b, c, d, e;          int a, b, c, d, e;
         static int x = 15;          static int x = 15;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.7