diff options
Diffstat (limited to 'lib/libshare')
-rw-r--r-- | lib/libshare/smb.c | 2 | ||||
-rw-r--r-- | lib/libshare/smb.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libshare/smb.c b/lib/libshare/smb.c index a95607ee0..f567f7c49 100644 --- a/lib/libshare/smb.c +++ b/lib/libshare/smb.c @@ -65,6 +65,8 @@ static boolean_t smb_available(void); static sa_fstype_t *smb_fstype; +smb_share_t *smb_shares; + /* * Retrieve the list of SMB shares. */ diff --git a/lib/libshare/smb.h b/lib/libshare/smb.h index 7a0c0fd16..8ea44677f 100644 --- a/lib/libshare/smb.h +++ b/lib/libshare/smb.h @@ -44,6 +44,6 @@ typedef struct smb_share_s { struct smb_share_s *next; } smb_share_t; -smb_share_t *smb_shares; +extern smb_share_t *smb_shares; void libshare_smb_init(void); |