ipset: fix compile error on 2.6.31-rt

ip_set.c:42:8: warning: type defaults to 'int' in declaration of
'DECLARE_MUTEX'

2.6.31-rt has cleaned up the naming mess in semaphore.h. Without
making use of #if hackery, we can use struct semaphore as declaration
plus an explicit sema_init() call.
This commit is contained in:
Jan Engelhardt
2009-09-12 02:14:00 +02:00
parent 09bfb8496e
commit b07434386b
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
- build: compile fixes for 2.6.31-rt
Xtables-addons 1.18 (September 09 2009)
=======================================
- build: support for Linux 2.6.31