projects
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
693e241
)
correct LENGTH()
author
Matthias-Christian Ott
<ott@enolink.de>
Mon, 2 Jun 2008 18:15:52 +0000
(20:15 +0200)
committer
Matthias-Christian Ott
<ott@enolink.de>
Mon, 2 Jun 2008 18:15:52 +0000
(20:15 +0200)
std.c
patch
|
blob
|
history
diff --git
a/std.c
b/std.c
index
5368f67
..
78e9237
100644
(file)
--- a/
std.c
+++ b/
std.c
@@
-13,7
+13,7
@@
#include <string.h>
#include <unistd.h>
-#define LENGTH(x) (sizeof
(x) / sizeof (x)[0]
)
+#define LENGTH(x) (sizeof
(x) / sizeof((x)[0])
)
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#define MIN(a,b) (((a) < (b)) ? (a) : (b))