Commit Graph

9 Commits

Author SHA1 Message Date
Karel Zak 3836cd2d21 lib: add missing headers to .c files
Signed-off-by: Karel Zak <kzak@redhat.com>
2020-10-06 15:03:45 +02:00
Karel Zak e33da967ef lib/linux_version: fix code indention
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-01-04 15:42:02 +01:00
Karel Zak e8f7acb0d3 lib: use unique ifdefs for tests
Let's use unique TEST_PROGRAM_<NAME> ifdefs to make build system more
robust.

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-01-04 11:44:37 +01:00
Karel Zak 5b9403a68f lib/linux_version: add test for manual testing
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-01-02 11:36:53 +01:00
Karel Zak 6b95593d79 lib/linux_version: fix stupid typo
... introduced by commit d404065a. Sorry.

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-01-02 11:32:24 +01:00
Karel Zak d404065a82 lib/linux_version: avoid major and minor shadowing
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-03-09 11:49:42 +01:00
Karel Zak 85d5acb8d2 lib: [linux_version.c] simplify version parsing
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-20 13:48:40 +02:00
Karel Zak fa7e0d6d44 lib: [linux_version.c] accommodate two-component linux version (e.g. 3.0)
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-06 12:35:26 +02:00
Stefan Krah 5d2c98e1df lib: add linux_version.{c,h}
Signed-off-by: Stefan Krah <stefan@bytereef.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-06 02:40:13 +01:00