mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
libspl: declare aok extern in header
Rather than defining a new instance of 'aok' in every compilation unit which includes this header, there is a single instance defined in zone.c, and the header now only declares an extern. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Paul Zuchowski <pzuchowski@datto.com> Signed-off-by: Nick Black <dankamongmen@gmail.com> Closes #9752
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifndef _KERNEL
|
||||
int aok;
|
||||
extern int aok;
|
||||
#endif
|
||||
|
||||
static inline int
|
||||
|
||||
Reference in New Issue
Block a user