projects
/
xdos
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2ee1fb0d12808c117deee1c535e8cfa0fb7f1133
[xdos]
/
util.h
1
#ifndef UTIL_H_
2
#define UTIL_H_
3
4
/* calculates the padded size of an object of size "sz" */
5
int padded_size(int sz);
6
7
/* calculates the padding required for 32bit alignment after an object
8
* of size "sz" assuming itself is also aligned.
9
*/
10
int padding(int sz);
11
12
#endif /* UTIL_H_ */