diff options
author | Pavel Roskin <proski@gnu.org> | 2011-08-04 11:59:03 -0400 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-08-11 14:49:51 +0200 |
commit | 7701c8572fa4bf23f0cbd652ee3e347f6924ac94 (patch) | |
tree | 7bf9e66e091ec30e57d767d80dc2c737e756c1a3 /lib/cache.c | |
parent | f9993836ed0cb0359e486daa50f72c889f81a36a (diff) | |
download | libnl-7701c8572fa4bf23f0cbd652ee3e347f6924ac94.tar.gz |
Make some functions and global variables static
Diffstat (limited to 'lib/cache.c')
-rw-r--r-- | lib/cache.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/cache.c b/lib/cache.c index 90c0c0f..a1c8eae 100644 --- a/lib/cache.c +++ b/lib/cache.c @@ -506,7 +506,8 @@ void nl_cache_set_arg2(struct nl_cache *cache, int arg) * * @return 0 on success or a negative error code. */ -int nl_cache_request_full_dump(struct nl_sock *sk, struct nl_cache *cache) +static int nl_cache_request_full_dump(struct nl_sock *sk, + struct nl_cache *cache) { NL_DBG(2, "Requesting dump from kernel for cache %p <%s>...\n", cache, nl_cache_name(cache)); @@ -537,8 +538,8 @@ static int update_msg_parser(struct nl_msg *msg, void *arg) * @arg cache Cache * @arg param Parser parameters */ -int __cache_pickup(struct nl_sock *sk, struct nl_cache *cache, - struct nl_parser_param *param) +static int __cache_pickup(struct nl_sock *sk, struct nl_cache *cache, + struct nl_parser_param *param) { int err; struct nl_cb *cb; |