Simplify ALIGNDOWN macro.
This commit is contained in:
parent
72b066244c
commit
53fb12dbef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222264
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user