Diff for /embedaddon/rsync/case_N.h between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2016/11/01 09:54:32 version 1.1.1.4, 2021/03/17 00:32:36
Line 1 Line 1
 /*  /*
  * Allow an arbitrary sequence of case labels.   * Allow an arbitrary sequence of case labels.
  *   *
 * Copyright (C) 2006-2015 Wayne Davison * Copyright (C) 2006-2020 Wayne Davison
  *   *
  * This program is free software; you can redistribute it and/or modify   * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by   * it under the terms of the GNU General Public License as published by
Line 17 Line 17
  * with this program; if not, visit the http://fsf.org website.   * with this program; if not, visit the http://fsf.org website.
  */   */
   
/* This is included multiple times, once for every segement in a switch statement./* This is included multiple times, once for every segment in a switch statement.
  * This produces the next "case N:" statement in sequence. */   * This produces the next "case N:" statement in sequence. */
   
 #if !defined CASE_N_STATE_0  #if !defined CASE_N_STATE_0
Line 25 Line 25
         case 0:          case 0:
 #elif !defined CASE_N_STATE_1  #elif !defined CASE_N_STATE_1
 #define CASE_N_STATE_1  #define CASE_N_STATE_1
           /* FALLTHROUGH */
         case 1:          case 1:
 #elif !defined CASE_N_STATE_2  #elif !defined CASE_N_STATE_2
 #define CASE_N_STATE_2  #define CASE_N_STATE_2
           /* FALLTHROUGH */
         case 2:          case 2:
 #elif !defined CASE_N_STATE_3  #elif !defined CASE_N_STATE_3
 #define CASE_N_STATE_3  #define CASE_N_STATE_3
           /* FALLTHROUGH */
         case 3:          case 3:
 #elif !defined CASE_N_STATE_4  #elif !defined CASE_N_STATE_4
 #define CASE_N_STATE_4  #define CASE_N_STATE_4
           /* FALLTHROUGH */
         case 4:          case 4:
 #elif !defined CASE_N_STATE_5  #elif !defined CASE_N_STATE_5
 #define CASE_N_STATE_5  #define CASE_N_STATE_5
           /* FALLTHROUGH */
         case 5:          case 5:
 #elif !defined CASE_N_STATE_6  #elif !defined CASE_N_STATE_6
 #define CASE_N_STATE_6  #define CASE_N_STATE_6
           /* FALLTHROUGH */
         case 6:          case 6:
 #elif !defined CASE_N_STATE_7  #elif !defined CASE_N_STATE_7
 #define CASE_N_STATE_7  #define CASE_N_STATE_7
           /* FALLTHROUGH */
         case 7:          case 7:
 #elif !defined CASE_N_STATE_8  #elif !defined CASE_N_STATE_8
 #define CASE_N_STATE_8  #define CASE_N_STATE_8
           /* FALLTHROUGH */
         case 8:          case 8:
 #elif !defined CASE_N_STATE_9  #elif !defined CASE_N_STATE_9
 #define CASE_N_STATE_9  #define CASE_N_STATE_9
           /* FALLTHROUGH */
         case 9:          case 9:
 #elif !defined CASE_N_STATE_10  #elif !defined CASE_N_STATE_10
 #define CASE_N_STATE_10  #define CASE_N_STATE_10
           /* FALLTHROUGH */
         case 10:          case 10:
 #elif !defined CASE_N_STATE_11  #elif !defined CASE_N_STATE_11
 #define CASE_N_STATE_11  #define CASE_N_STATE_11
           /* FALLTHROUGH */
         case 11:          case 11:
 #elif !defined CASE_N_STATE_12  #elif !defined CASE_N_STATE_12
 #define CASE_N_STATE_12  #define CASE_N_STATE_12
           /* FALLTHROUGH */
         case 12:          case 12:
 #elif !defined CASE_N_STATE_13  #elif !defined CASE_N_STATE_13
 #define CASE_N_STATE_13  #define CASE_N_STATE_13
           /* FALLTHROUGH */
         case 13:          case 13:
 #elif !defined CASE_N_STATE_14  #elif !defined CASE_N_STATE_14
 #define CASE_N_STATE_14  #define CASE_N_STATE_14
           /* FALLTHROUGH */
         case 14:          case 14:
 #elif !defined CASE_N_STATE_15  #elif !defined CASE_N_STATE_15
 #define CASE_N_STATE_15  #define CASE_N_STATE_15
           /* FALLTHROUGH */
         case 15:          case 15:
 #elif !defined CASE_N_STATE_16  #elif !defined CASE_N_STATE_16
 #define CASE_N_STATE_16  #define CASE_N_STATE_16
           /* FALLTHROUGH */
         case 16:          case 16:
 #else  #else
 #error Need to add more case statements!  #error Need to add more case statements!

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>