* Compute the number of padding bytes required for an entry in a tar * archive. We must pad out to a multiple of TAR_BLOCK_SIZE. Since that's * a power of 2, we can use TYPEALIGN(). */
| 41 | * a power of 2, we can use TYPEALIGN(). |
| 42 | */ |
| 43 | static inline size_t |
| 44 | tarPaddingBytesRequired(size_t len) |
| 45 | { |
| 46 | return TYPEALIGN(TAR_BLOCK_SIZE, len) - len; |
| 47 | } |
| 48 | |
| 49 | #endif |
| 50 |
no outgoing calls
no test coverage detected