initial commit
[xdos] / src / 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_ */