Explorar o código

fix typo in sys/param.h that broke setbit, etc. macros

this is all junk, but some programs use it.
Rich Felker %!s(int64=13) %!d(string=hai) anos
pai
achega
e0ff0d34dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/sys/param.h

+ 1 - 1
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,&)