[v2] Remove unused parameter of use_gateway_module
Commit Message
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
batman/os.h | 2 +-
batman/posix/init.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -70,7 +70,7 @@ int32_t get_send_redirects( char *dev );
void set_forwarding( int32_t state );
int32_t get_forwarding( void );
int8_t bind_to_iface( int32_t sock, char *dev );
-int8_t use_gateway_module();
+int8_t use_gateway_module(void);
/* posix.c */
void print_animation( void );
@@ -1152,7 +1152,7 @@ void init_interface_gw (void) {
struct batman_if *batman_if = (struct batman_if *)if_list.next;
- if ( ( batman_if->udp_tunnel_sock = use_gateway_module( batman_if->dev ) ) < 0 ) {
+ if ( ( batman_if->udp_tunnel_sock = use_gateway_module() ) < 0 ) {
batman_if->addr.sin_port = htons(GW_PORT);