diff options
author | Pavel Roskin <proski@gnu.org> | 2011-08-04 15:59:03 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-08-11 12:49:51 (GMT) |
commit | 7701c8572fa4bf23f0cbd652ee3e347f6924ac94 (patch) | |
tree | 7bf9e66e091ec30e57d767d80dc2c737e756c1a3 /lib/msg.c | |
parent | f9993836ed0cb0359e486daa50f72c889f81a36a (diff) | |
download | libnl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |