Harald Welte has submitted this change and it was merged.

Change subject: lib/tun: Mark internal helper functions 'static'
......................................................................


lib/tun: Mark internal helper functions 'static'

Change-Id: I53a8a89abb0080a39a153e9d3864c17b29aa193c
---
M lib/tun.c
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/lib/tun.c b/lib/tun.c
index 32d4b27..e8368e5 100644
--- a/lib/tun.c
+++ b/lib/tun.c
@@ -67,7 +67,7 @@
 
 #include <linux/ipv6.h>
 
-int tun_nlattr(struct nlmsghdr *n, int nsize, int type, void *d, int dlen)
+static int tun_nlattr(struct nlmsghdr *n, int nsize, int type, void *d, int 
dlen)
 {
        int len = RTA_LENGTH(dlen);
        int alen = NLMSG_ALIGN(n->nlmsg_len);
@@ -82,7 +82,7 @@
 }
 #endif
 
-int tun_sifflags(struct tun_t *this, int flags)
+static int tun_sifflags(struct tun_t *this, int flags)
 {
        struct ifreq ifr;
        int fd;
@@ -468,7 +468,7 @@
        }
 }
 
-int tun_route(struct tun_t *this,
+static int tun_route(struct tun_t *this,
              struct in_addr *dst,
              struct in_addr *gateway, struct in_addr *mask, int delete)
 {

-- 
To view, visit https://gerrit.osmocom.org/3847
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I53a8a89abb0080a39a153e9d3864c17b29aa193c
Gerrit-PatchSet: 4
Gerrit-Project: openggsn
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to