CLeanups.

committer: mfx <mfx> 1042480204 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-01-13 17:50:04 +00:00
parent 2162a01848
commit 992ceee52b
7 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ typedef RETSIGTYPE (SIGTYPEENTRY *sig_type)(int);
# define UNUSED(parm) (parm = parm)
#endif
#define HIGH(array) ((unsigned) (sizeof(array)/sizeof((array)[0])))
#define TABLESIZE(table) ((sizeof(table)/sizeof((table)[0])))
#define ALIGN_DOWN(a,b) (((a) / (b)) * (b))
#define ALIGN_UP(a,b) ALIGN_DOWN((a) + ((b) - 1), b)