From: Rich Felker Date: Thu, 10 May 2012 15:55:16 +0000 (-0400) Subject: fix typo in sys/param.h that broke setbit, etc. macros X-Git-Tag: v0.9.1~68 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e0ff0d34dcce6993bedefe5ef61f10701d2b5a09;p=oweals%2Fmusl.git fix typo in sys/param.h that broke setbit, etc. macros this is all junk, but some programs use it. --- diff --git a/include/sys/param.h b/include/sys/param.h index 1650e772..17e3d669 100644 --- a/include/sys/param.h +++ b/include/sys/param.h @@ -18,7 +18,7 @@ #define MIN(a,b) (((a)<(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b)) -#define ___bitop(x,i,o) ((a)[(i)/8] o 1<<(i)%8) +#define __bitop(x,i,o) ((a)[(i)/8] o 1<<(i)%8) #define setbit(x,i) __bitop(x,i,|=) #define clrbit(x,i) __bitop(x,i,&=~) #define isset(x,i) __bitop(x,i,&)