summaryrefslogtreecommitdiffstats
path: root/lib/msg.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2011-08-04 15:59:03 (GMT)
committerThomas Graf <tgraf@suug.ch>2011-08-11 12:49:51 (GMT)
commit7701c8572fa4bf23f0cbd652ee3e347f6924ac94 (patch)
tree7bf9e66e091ec30e57d767d80dc2c737e756c1a3 /lib/msg.c
parentf9993836ed0cb0359e486daa50f72c889f81a36a (diff)
downloadlibnl-7701c8572fa4bf23f0cbd652ee3e347f6924ac94.zip
libnl-7701c8572fa4bf23f0cbd652ee3e347f6924ac94.tar.gz
libnl-7701c8572fa4bf23f0cbd652ee3e347f6924ac94.tar.bz2
Make some functions and global variables static
Diffstat (limited to 'lib/msg.c')
-rw-r--r--lib/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msg.c b/lib/msg.c
index ee2922c..235ee82 100644
--- a/lib/msg.c
+++ b/lib/msg.c
@@ -188,7 +188,7 @@ int nlmsg_size(int payload)
return NLMSG_HDRLEN + payload;
}
-int nlmsg_msg_size(int payload)
+static int nlmsg_msg_size(int payload)
{
return nlmsg_size(payload);
}
@@ -255,7 +255,7 @@ int nlmsg_datalen(const struct nlmsghdr *nlh)
return nlh->nlmsg_len - NLMSG_HDRLEN;
}
-int nlmsg_len(const struct nlmsghdr *nlh)
+static int nlmsg_len(const struct nlmsghdr *nlh)
{
return nlmsg_datalen(nlh);
}