diff options
author | Richard Yao <[email protected]> | 2012-08-01 02:00:40 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-08-01 16:35:18 -0700 |
commit | 6576a1a70dedfc7d5a5e1533a9e3e56074de4c79 (patch) | |
tree | 0adc23f52e8d21a534876eb5b56a0ce7dbd4fa5a /include/sys/kmem.h | |
parent | 744038069d3dc65e721b5b8cc5c37d8c7fcbd8c0 (diff) |
Fix incorrect type in spl_kmem_cache_set_move() parameter
A preprocessor definition renders this harmless. However, it is a good
idea to change this to be consistent.
Signed-off-by: Richard Yao <[email protected]>
Diffstat (limited to 'include/sys/kmem.h')
-rw-r--r-- | include/sys/kmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/kmem.h b/include/sys/kmem.h index 796af44e8..4383efb7c 100644 --- a/include/sys/kmem.h +++ b/include/sys/kmem.h @@ -413,7 +413,7 @@ typedef struct spl_kmem_cache { extern spl_kmem_cache_t *spl_kmem_cache_create(char *name, size_t size, size_t align, spl_kmem_ctor_t ctor, spl_kmem_dtor_t dtor, spl_kmem_reclaim_t reclaim, void *priv, void *vmp, int flags); -extern void spl_kmem_cache_set_move(kmem_cache_t *, +extern void spl_kmem_cache_set_move(spl_kmem_cache_t *, kmem_cbrc_t (*)(void *, void *, size_t, void *)); extern void spl_kmem_cache_destroy(spl_kmem_cache_t *skc); extern void *spl_kmem_cache_alloc(spl_kmem_cache_t *skc, int flags); |