X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=cll1.h;h=cd6e685144ebe772a2954ba2d9a28b0b6c8ded11;hp=6f07bd67f96322b744b75eeef256446b4224b6cc;hb=81edff804b6840390d399e377416bd1814f904ee;hpb=007c44c5b436954a0b8f7a037f7ffd80dc1d3e72 diff --git a/cll1.h b/cll1.h index 6f07bd6..cd6e685 100644 --- a/cll1.h +++ b/cll1.h @@ -27,6 +27,7 @@ #include #include #include +#include /* Section For Dummies part 1, updated 2004-05-07 by xCh. */ @@ -76,7 +77,7 @@ #define duplicate(A,B) if(A) { string(B,strlen(A)+1); strcpy(B,A); } #define concatenate(A,B,C) if (A && B) { string(C,strlen(A)+strlen(B)+1); strcpy(C,A); strcat(C,B); } #define suffix(A,B,C) (((A=strrchr(B,C))&&!(*(A++)=0))||(A=B)) -#define prefix(A,B,C) ((A=B)&&((B=strchr(B,C))&&!(*(B++)=0)||(B=A))) +#define prefix(A,B,C) ((A=B)&&(((B=strchr(B,C))&&!(*(B++)=0))||(B=A))) #define gotoalpha(CHAR) if(CHAR)while(*CHAR && !isalpha(*CHAR))CHAR++ #define goto_alpha(CHAR) if(CHAR)while(*CHAR && !isalpha(*CHAR) && *CHAR!='_')CHAR++ #define gotoalnum(CHAR) if(CHAR)while(*CHAR && !isalnum(*CHAR))CHAR++