summaryrefslogtreecommitdiff
path: root/src/utils.c
AgeCommit message (Collapse)Author
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.