summaryrefslogtreecommitdiff
path: root/src/utils.c
AgeCommit message (Collapse)Author
2018-01-23Fix documentation: integers are stored in little-endian byte order.Przemyslaw Pawelczyk
David misdocumented read/write int functions back in commit 5fed2f9169fdd0585cc83ff0fa8210d97da77cb2 (2007-05-19) and later it probably got copy-pasted to the documentation of file format.
2018-01-23Fix sparse warning: Variable length array is used.Przemyslaw Pawelczyk
Avoid using VLAs when it is not really needed, especially in cases like this one here, when possible array size is very limited (1-8 bytes).
2018-01-23Fix sparse warnings: non-ANSI function declaration.Przemyslaw Pawelczyk
Explicitly specify void when a function accepts no arguments.
2016-02-06Define also _DEFAULT_SOURCE where _BSD_SOURCE is already defined.Przemyslaw Pawelczyk
It's required to avoid getting warnings w/ glibc >= 2.20.
2016-02-01Improve code formatting and convert `unsigned int` to `unsigned`.Przemyslaw Pawelczyk
2015-09-13Move source files to src/ directory.Przemyslaw Pawelczyk
As a bonus you can build out-of-tree now via make -f. It's part of the work related to issue #22.