From e31b6cf80cefd5aa8e0172034d94c003cdf2b0b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20M=C3=BCnchow?= Date: Wed, 12 Oct 2016 12:16:16 +0200 Subject: [PATCH] Added license to compat headers. removed compat_user.h because it isn't used. --- src/compat_skbuff.h | 7 +++++++ src/compat_user.h | 12 ------------ src/compat_xtables.h | 7 +++++++ src/compat_xtnu.h | 7 +++++++ 4 files changed, 21 insertions(+), 12 deletions(-) delete mode 100644 src/compat_user.h diff --git a/src/compat_skbuff.h b/src/compat_skbuff.h index ba064c1..aea53ea 100644 --- a/src/compat_skbuff.h +++ b/src/compat_skbuff.h @@ -1,3 +1,10 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License; either + * version 2 of the License, or any later version, as published by the + * Free Software Foundation. + */ + #ifndef COMPAT_SKBUFF_H #define COMPAT_SKBUFF_H 1 diff --git a/src/compat_user.h b/src/compat_user.h deleted file mode 100644 index 3ad168c..0000000 --- a/src/compat_user.h +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Userspace-level compat hacks - */ -#ifndef _XTABLES_COMPAT_USER_H -#define _XTABLES_COMPAT_USER_H 1 - -/* linux-glibc-devel 2.6.34 header screwup */ -#ifndef ALIGN -# define ALIGN(s, n) (((s) + ((n) - 1)) & ~((n) - 1)) -#endif - -#endif /* _XTABLES_COMPAT_USER_H */ diff --git a/src/compat_xtables.h b/src/compat_xtables.h index a6c61ac..0972345 100644 --- a/src/compat_xtables.h +++ b/src/compat_xtables.h @@ -1,3 +1,10 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License; either + * version 2 of the License, or any later version, as published by the + * Free Software Foundation. + */ + #ifndef _XTABLES_COMPAT_H #define _XTABLES_COMPAT_H 1 diff --git a/src/compat_xtnu.h b/src/compat_xtnu.h index 150dc0e..68ab386 100644 --- a/src/compat_xtnu.h +++ b/src/compat_xtnu.h @@ -1,3 +1,10 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License; either + * version 2 of the License, or any later version, as published by the + * Free Software Foundation. + */ + #ifndef _COMPAT_XTNU_H #define _COMPAT_XTNU_H 1