[BACK]Return to lint1.h 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/lint1.h between version 1.56 and 1.57

version 1.56, 2021/01/16 16:03:46 version 1.57, 2021/01/16 16:53:23
Line 71  typedef struct {
Line 71  typedef struct {
                 curr_pos.p_uniq++;                                      \                  curr_pos.p_uniq++;                                      \
                 if (curr_pos.p_file == csrc_pos.p_file)                 \                  if (curr_pos.p_file == csrc_pos.p_file)                 \
                         csrc_pos.p_uniq++;                              \                          csrc_pos.p_uniq++;                              \
         } while (/*CONSTCOND*/0)          } while (/*CONSTCOND*/false)
   
 /*  /*
  * Strings cannot be referenced to simply by a pointer to its first   * Strings cannot be referenced to simply by a pointer to its first
Line 427  typedef struct err_set {
Line 427  typedef struct err_set {
         do {                                                            \          do {                                                            \
                 if (!(cond))                                            \                  if (!(cond))                                            \
                         assert_failed(__FILE__, __LINE__, __func__, #cond); \                          assert_failed(__FILE__, __LINE__, __func__, #cond); \
         } while (/*CONSTCOND*/0)          } while (/*CONSTCOND*/false)
   
 #ifdef BLKDEBUG  #ifdef BLKDEBUG
 #define ZERO    0xa5  #define ZERO    0xa5
Line 451  check_printf(const char *fmt, ...)
Line 451  check_printf(const char *fmt, ...)
         do {                                                            \          do {                                                            \
                 check_printf(__CONCAT(MSG_, id), ##args);               \                  check_printf(__CONCAT(MSG_, id), ##args);               \
                 (func)(id, ##args);                                     \                  (func)(id, ##args);                                     \
         } while (/*CONSTCOND*/0)          } while (/*CONSTCOND*/false)
   
 #  define error(id, args...) wrap_check_printf(error, id, ##args)  #  define error(id, args...) wrap_check_printf(error, id, ##args)
 #  define warning(id, args...) wrap_check_printf(warning, id, ##args)  #  define warning(id, args...) wrap_check_printf(warning, id, ##args)

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

CVSweb <webmaster@jp.NetBSD.org>