[BACK]Return to func.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / xlint / lint1

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/xlint/lint1/func.c between version 1.24 and 1.24.14.1

version 1.24, 2008/11/16 07:06:37 version 1.24.14.1, 2013/06/23 06:29:02
Line 130  int llibflg;
Line 130  int llibflg;
   
 /*  /*
  * Nonzero if warnings are suppressed by a LINTED directive   * Nonzero if warnings are suppressed by a LINTED directive
    * LWARN_BAD:   error
    * LWARN_ALL:   warnings on
    * LWARN_NONE:  all warnings ignored
    * 0..n: warning n ignored
  */   */
 int     nowarn;  int     lwarn = LWARN_ALL;
   
 /*  /*
  * Nonzero if bitfield type errors are suppressed by a BITFIELDTYPE   * Nonzero if bitfield type errors are suppressed by a BITFIELDTYPE
Line 1241  linted(int n)
Line 1245  linted(int n)
 {  {
   
 #ifdef DEBUG  #ifdef DEBUG
         printf("%s, %d: nowarn = 1\n", curr_pos.p_file, curr_pos.p_line);          printf("%s, %d: lwarn = %d\n", curr_pos.p_file, curr_pos.p_line, n);
 #endif  #endif
         nowarn = 1;          lwarn = n;
 }  }
   
 /*  /*

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.24.14.1

CVSweb <webmaster@jp.NetBSD.org>