Simplify ALIGNDOWN macro.

This commit is contained in:
Andrey V. Elsukov 2011-05-24 17:03:46 +00:00
parent 72b066244c
commit 53fb12dbef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222264

View File

@ -295,7 +295,7 @@ fmtattrib(struct gprovider *pp)
return (buf);
}
#define ALIGNDOWN(d, a) ((d) % (a) ? (d) - (d) % (a): (d))
#define ALIGNDOWN(d, a) ((d) - (d) % (a))
#define ALIGNUP(d, a) ((d) % (a) ? (d) - (d) % (a) + (a): (d))
static int