]> git.ipfire.org Git - thirdparty/util-linux.git/blame - include/linux_version.h
include: add missing license lines
[thirdparty/util-linux.git] / include / linux_version.h
CommitLineData
faeb1b64
KZ
1/*
2 * No copyright is claimed. This code is in the public domain; do with
3 * it what you wish.
4 */
5d2c98e1
SK
5#ifndef LINUX_VERSION_H
6#define LINUX_VERSION_H
7
8#ifdef HAVE_LINUX_VERSION_H
9# include <linux/version.h>
10#endif
11
12#ifndef KERNEL_VERSION
13# define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
14#endif
15
16int get_linux_version(void);
17
18#endif /* LINUX_VERSION_H */