mirror of
https://github.com/openharmony/third_party_iptables.git
synced 2026-07-20 22:06:51 -04:00
ipt_get_target is declared non-static in ip_tables.h, so it is non-static here
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
/* Library which manipulates firewall rules. Version $Revision: 1.29 $ */
|
||||
/* Library which manipulates firewall rules. Version $Revision: 1.30 $ */
|
||||
|
||||
/* Architecture of firewall rules is as follows:
|
||||
*
|
||||
@@ -16,7 +16,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef __OPTIMIZE__
|
||||
static STRUCT_ENTRY_TARGET *
|
||||
STRUCT_ENTRY_TARGET *
|
||||
GET_TARGET(STRUCT_ENTRY *e)
|
||||
{
|
||||
return (void *)e + e->target_offset;
|
||||
|
||||
Reference in New Issue
Block a user