libspl: fix warning about missing spl_pagesize declaration

Though it's unlikely anyone will alter its signature, avoids any
possible type mismatch.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Érico Nogueira <erico.erc@gmail.com>
Closes #12567
This commit is contained in:
Érico Nogueira Rolim 2021-09-24 19:59:26 -03:00 committed by GitHub
parent df5ea74ff6
commit ce2bdcedf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@
*/
#include <unistd.h>
#include <sys/param.h>
static size_t pagesize = 0;