From 7996a3d79d55b7f879dfd62e202bbfe2963718d3 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 27 Jul 2013 22:15:01 +0000 Subject: really properly move files --- libdde-linux26/contrib/include/linux/license.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libdde-linux26/contrib/include/linux/license.h (limited to 'libdde-linux26/contrib/include/linux/license.h') diff --git a/libdde-linux26/contrib/include/linux/license.h b/libdde-linux26/contrib/include/linux/license.h new file mode 100644 index 00000000..decdbf43 --- /dev/null +++ b/libdde-linux26/contrib/include/linux/license.h @@ -0,0 +1,14 @@ +#ifndef __LICENSE_H +#define __LICENSE_H + +static inline int license_is_gpl_compatible(const char *license) +{ + return (strcmp(license, "GPL") == 0 + || strcmp(license, "GPL v2") == 0 + || strcmp(license, "GPL and additional rights") == 0 + || strcmp(license, "Dual BSD/GPL") == 0 + || strcmp(license, "Dual MIT/GPL") == 0 + || strcmp(license, "Dual MPL/GPL") == 0); +} + +#endif -- cgit v1.2.3