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

Diff for /src/usr.bin/less/main.c between version 1.4 and 1.5

version 1.4, 2001/01/29 01:58:03 version 1.5, 2001/11/19 19:02:14
Line 282 
Line 282 
 save(s)  save(s)
         char *s;          char *s;
 {  {
         register char *p;          char *p;
   
         p = (char *) ecalloc(strlen(s)+1, sizeof(char));          p = (char *) ecalloc(strlen(s)+1, sizeof(char));
         strcpy(p, s);          strcpy(p, s);
Line 298 
Line 298 
         int count;          int count;
         unsigned int size;          unsigned int size;
 {  {
         register VOID_POINTER p;          VOID_POINTER p;
   
         p = (VOID_POINTER) calloc(count, size);          p = (VOID_POINTER) calloc(count, size);
         if (p != NULL)          if (p != NULL)
Line 313 
Line 313 
  */   */
         public char *          public char *
 skipsp(s)  skipsp(s)
         register char *s;          char *s;
 {  {
         while (*s == ' ' || *s == '\t')          while (*s == ' ' || *s == '\t')
                 s++;                  s++;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5