summaryrefslogtreecommitdiffstats
path: root/lib/linux_version.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/linux_version: fix code indentionKarel Zak2017-01-041-35/+35
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: use unique ifdefs for testsKarel Zak2017-01-041-1/+1
| | | | | | | Let's use unique TEST_PROGRAM_<NAME> ifdefs to make build system more robust. Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/linux_version: add test for manual testingKarel Zak2017-01-021-0/+47
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/linux_version: fix stupid typoKarel Zak2017-01-021-1/+1
| | | | | | ... introduced by commit d404065a. Sorry. Signed-off-by: Karel Zak <kzak@redhat.com>
* lib/linux_version: avoid major and minor shadowingKarel Zak2016-03-091-6/+5Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: [linux_version.c] simplify version parsingKarel Zak2011-06-201-11/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: [linux_version.c] accommodate two-component linux version (e.g. 3.0)Karel Zak2011-06-061-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add linux_version.{c,h}Stefan Krah2007-11-061-0/+25
Signed-off-by: Stefan Krah <stefan@bytereef.org> Signed-off-by: Karel Zak <kzak@redhat.com>