aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zmod.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-11-11 09:03:31 -0800
committerBrian Behlendorf <[email protected]>2011-11-11 09:18:28 -0800
commit1114ae6ae74a287478cd8a34770fc4a907f84134 (patch)
treed3752a329ba7f41f0be72ca2ff6e558b25b77fd2 /include/sys/zmod.h
parent948914d2f10f6bf274bb51b96dd5337f01165b45 (diff)
Prepend spl_ to all init/fini functions
This is a bit of cleanup I'd been meaning to get to for a while to reduce the chance of a type conflict. Well that conflict finally occurred with the kstat_init() function which conflicts with a function in the 2.6.32-6-pve kernel. Signed-off-by: Brian Behlendorf <[email protected]> Closes #56
Diffstat (limited to 'include/sys/zmod.h')
-rw-r--r--include/sys/zmod.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/zmod.h b/include/sys/zmod.h
index 246aa2aec..a6519dec2 100644
--- a/include/sys/zmod.h
+++ b/include/sys/zmod.h
@@ -63,7 +63,7 @@ extern int z_compress_level(void *dest, size_t *destLen, const void *source,
extern int z_uncompress(void *dest, size_t *destLen, const void *source,
size_t sourceLen);
-int zlib_init(void);
-void zlib_fini(void);
+int spl_zlib_init(void);
+void spl_zlib_fini(void);
#endif /* SPL_ZMOD_H */