xt_pknock: don't split function heads

This commit is contained in:
Jan Engelhardt
2018-01-05 01:36:12 +01:00
parent 2b76b68c65
commit 56e5970c64
2 changed files with 4 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
HEAD HEAD
==== ====
Enhancements:
- support for Linux up to 4.15
v2.14 (2017-11-22) v2.14 (2017-11-22)

View File

@@ -357,14 +357,11 @@ has_logged_during_this_minute(const struct peer *peer)
* *
* @r: rule * @r: rule
*/ */
static void
peer_gc(
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
struct timer_list *tl static void peer_gc(struct timer_list *tl)
#else #else
unsigned long r static void peer_gc(unsigned long r)
#endif #endif
)
{ {
unsigned int i; unsigned int i;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)