projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ff0d3
)
and another bug in setbit, etc. macros..
author
Rich Felker
<dalias@aerifal.cx>
Thu, 10 May 2012 15:59:07 +0000
(11:59 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 10 May 2012 15:59:07 +0000
(11:59 -0400)
include/sys/param.h
patch
|
blob
|
history
diff --git
a/include/sys/param.h
b/include/sys/param.h
index 17e3d6695540175adfce76a63b9524cf9ae704ba..ddd7709a419b116496da23fa72f369c70ea2be58 100644
(file)
--- 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) ((
x
)[(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,&)