merge 20260 from samba_3_0_24
[metze/old/v3-2-winbind-ndr.git] / source / modules / vfs_netatalk.c
index 279160d966587a2b0353003e59a15d53cbf2d6f5..7176919a7dc01165b438cc01708d5e3a16df7831 100644 (file)
@@ -172,7 +172,7 @@ static void atalk_rrmdir(TALLOC_CTX *ctx, char *path)
 
 /* Directory operations */
 
-SMB_STRUCT_DIR *atalk_opendir(struct vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr)
+static SMB_STRUCT_DIR *atalk_opendir(struct vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr)
 {
        SMB_STRUCT_DIR *ret = 0;
 
@@ -394,6 +394,7 @@ static vfs_op_tuple atalk_ops[] = {
        {SMB_VFS_OP(NULL),                      SMB_VFS_OP_NOOP,        SMB_VFS_LAYER_NOOP}
 };
 
+NTSTATUS vfs_netatalk_init(void);
 NTSTATUS vfs_netatalk_init(void)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "netatalk", atalk_ops);