The header files are usually based on code from lib/. This commit copies relevant license headers from lib/ to include/ to keep things consistent. The very generic things (e.g. MBR definitions) are always public domain. Fixes: https://github.com/util-linux/util-linux/issues/2010 Signed-off-by: Karel Zak <kzak@redhat.com>
18 lines
367 B
C
18 lines
367 B
C
/*
|
|
* No copyright is claimed. This code is in the public domain; do with
|
|
* it what you wish.
|
|
*/
|
|
#ifndef LINUX_VERSION_H
|
|
#define LINUX_VERSION_H
|
|
|
|
#ifdef HAVE_LINUX_VERSION_H
|
|
# include <linux/version.h>
|
|
#endif
|
|
|
|
#ifndef KERNEL_VERSION
|
|
# define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
|
|
#endif
|
|
|
|
int get_linux_version(void);
|
|
|
|
#endif /* LINUX_VERSION_H */
|