about summary refs log tree commit diff
path: root/include/sys/param.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-10 11:55:16 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-10 11:55:16 -0400
commite0ff0d34dcce6993bedefe5ef61f10701d2b5a09 (patch)
treea818626979a1b121edb5ce6c17065e7e5bddf7e4 /include/sys/param.h
parent37bb3cce4598c19288628e675eaf1cda6e96958f (diff)
downloadmusl-e0ff0d34dcce6993bedefe5ef61f10701d2b5a09.tar.gz
musl-e0ff0d34dcce6993bedefe5ef61f10701d2b5a09.tar.xz
musl-e0ff0d34dcce6993bedefe5ef61f10701d2b5a09.zip
fix typo in sys/param.h that broke setbit, etc. macros
this is all junk, but some programs use it.
Diffstat (limited to 'include/sys/param.h')
-rw-r--r--include/sys/param.h2
1 files changed, 1 insertions, 1 deletions
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,&)