correct LENGTH()

This commit is contained in:
Matthias-Christian Ott 2008-06-02 20:15:52 +02:00
parent 4059fb04fa
commit 75b1565fdc
1 changed files with 1 additions and 1 deletions

2
std.c
View File

@ -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))