diff options
author | наб <[email protected]> | 2021-06-03 19:04:13 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-03 11:04:13 -0600 |
commit | 94f942c658521c9f67955958942014d41a4a7146 (patch) | |
tree | 43f51f6b0e24a51cecce402931cd91503f3bd52b /lib/libspl/page.c | |
parent | f97142c74801a15c4e3840722502d279d1913fb5 (diff) |
libspl: staticify buf and pagesize, rename aok to libspl_assert_ok
Exporting names this short can easily cause nasty collisions with user code.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12050
Diffstat (limited to 'lib/libspl/page.c')
-rw-r--r-- | lib/libspl/page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libspl/page.c b/lib/libspl/page.c index 06d9fcfa0..ad9aad998 100644 --- a/lib/libspl/page.c +++ b/lib/libspl/page.c @@ -22,7 +22,7 @@ #include <unistd.h> -size_t pagesize = 0; +static size_t pagesize = 0; size_t spl_pagesize(void) |