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

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