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

Diff for /src/usr.bin/calendar/day.c between version 1.13 and 1.15

version 1.13, 2001/09/27 18:19:20 version 1.15, 2003/06/03 02:56:06
Line 12 
Line 12 
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
  * 3. All advertising materials mentioning features or use of this software   * 3. Neither the name of the University nor the names of its contributors
  *    must display the following acknowledgement:  
  *      This product includes software developed by the University of  
  *      California, Berkeley and its contributors.  
  * 4. Neither the name of the University nor the names of its contributors  
  *    may be used to endorse or promote products derived from this software   *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.   *    without specific prior written permission.
  *   *
Line 565 
Line 561 
   
 int  int
 getmonth(s)  getmonth(s)
         register char *s;          char *s;
 {  {
         register char **p;          char **p;
         struct fixs *n;          struct fixs *n;
   
         for (n = fnmonths; n->name; ++n)          for (n = fnmonths; n->name; ++n)
Line 585 
Line 581 
   
 int  int
 getday(s)  getday(s)
         register char *s;          char *s;
 {  {
         register char **p;          char **p;
         struct fixs *n;          struct fixs *n;
   
         for (n = fndays; n->name; ++n)          for (n = fndays; n->name; ++n)
Line 609 
Line 605 
  */   */
 int  int
 getdayvar(s)  getdayvar(s)
         register char *s;          char *s;
 {  {
         register int offset;          int offset;
   
   
         offset = strlen(s);          offset = strlen(s);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.15