diff options
author | des <des@FreeBSD.org> | 2009-06-12 23:39:05 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2009-06-12 23:39:05 +0000 |
commit | f27ad68328ccf8ec36c6eba415b3e4868d7dcb99 (patch) | |
tree | 8978a826a417833f409a669f1da5a10eb1b269bc /usr.sbin/nscd/cacheplcs.c | |
parent | 70758298f7f5dd8d21972f0511c012a4a9824fba (diff) | |
download | FreeBSD-src-f27ad68328ccf8ec36c6eba415b3e4868d7dcb99.zip FreeBSD-src-f27ad68328ccf8ec36c6eba415b3e4868d7dcb99.tar.gz |
Provide correct prototypes for functions with no arguments.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/nscd/cacheplcs.c')
-rw-r--r-- | usr.sbin/nscd/cacheplcs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/nscd/cacheplcs.c b/usr.sbin/nscd/cacheplcs.c index 7b0c8eb..7010ce8 100644 --- a/usr.sbin/nscd/cacheplcs.c +++ b/usr.sbin/nscd/cacheplcs.c @@ -55,7 +55,7 @@ static void cache_lru_policy_update_item(struct cache_policy_ *, struct cache_policy_item_ *); static void cache_queue_policy_add_item(struct cache_policy_ *, struct cache_policy_item_ *); -static struct cache_policy_item_ * cache_queue_policy_create_item(); +static struct cache_policy_item_ * cache_queue_policy_create_item(void); static void cache_queue_policy_destroy_item(struct cache_policy_item_ *); static struct cache_policy_item_ *cache_queue_policy_get_first_item( struct cache_policy_ *); @@ -77,7 +77,7 @@ static struct cache_queue_policy_ *init_cache_queue_policy(void); * cache_queue_policy_ with cache_update_item function changed. */ static struct cache_policy_item_ * -cache_queue_policy_create_item() +cache_queue_policy_create_item(void) { struct cache_queue_policy_item_ *retval; @@ -248,7 +248,7 @@ cache_fifo_policy_update_item(struct cache_policy_ *policy, } struct cache_policy_ * -init_cache_fifo_policy() +init_cache_fifo_policy(void) { struct cache_queue_policy_ *retval; @@ -293,7 +293,7 @@ cache_lru_policy_update_item(struct cache_policy_ *policy, } struct cache_policy_ * -init_cache_lru_policy() +init_cache_lru_policy(void) { struct cache_queue_policy_ *retval; @@ -530,7 +530,7 @@ cache_lfu_policy_get_prev_item(struct cache_policy_ *policy, * functions pointers */ struct cache_policy_ * -init_cache_lfu_policy() +init_cache_lfu_policy(void) { int i; struct cache_lfu_policy_ *retval; |