svn commit: samba r20897 - in branches/SAMBA_4_0/source/ntvfs: common posix

metze at samba.org metze at samba.org
Fri Jan 19 11:58:04 GMT 2007


Author: metze
Date: 2007-01-19 11:58:03 +0000 (Fri, 19 Jan 2007)
New Revision: 20897

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20897

Log:
fix compiler warnings

metze
Added:
   branches/SAMBA_4_0/source/ntvfs/common/ntvfs_common.h
Modified:
   branches/SAMBA_4_0/source/ntvfs/common/brlock.c
   branches/SAMBA_4_0/source/ntvfs/common/notify.c
   branches/SAMBA_4_0/source/ntvfs/common/opendb.c
   branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.h


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/common/brlock.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/common/brlock.c	2007-01-19 04:32:04 UTC (rev 20896)
+++ branches/SAMBA_4_0/source/ntvfs/common/brlock.c	2007-01-19 11:58:03 UTC (rev 20897)
@@ -33,7 +33,7 @@
 #include "lib/messaging/irpc.h"
 #include "libcli/libcli.h"
 #include "cluster/cluster.h"
-#include "ntvfs/common/brlock.h"
+#include "ntvfs/common/ntvfs_common.h"
 
 static const struct brlock_ops *ops;
 

Modified: branches/SAMBA_4_0/source/ntvfs/common/notify.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/common/notify.c	2007-01-19 04:32:04 UTC (rev 20896)
+++ branches/SAMBA_4_0/source/ntvfs/common/notify.c	2007-01-19 11:58:03 UTC (rev 20897)
@@ -33,6 +33,7 @@
 #include "lib/messaging/irpc.h"
 #include "librpc/gen_ndr/ndr_notify.h"
 #include "lib/util/dlinklist.h"
+#include "ntvfs/common/ntvfs_common.h"
 #include "ntvfs/sysdep/sys_notify.h"
 #include "cluster/cluster.h"
 

Added: branches/SAMBA_4_0/source/ntvfs/common/ntvfs_common.h
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/common/ntvfs_common.h	2007-01-19 04:32:04 UTC (rev 20896)
+++ branches/SAMBA_4_0/source/ntvfs/common/ntvfs_common.h	2007-01-19 11:58:03 UTC (rev 20897)
@@ -0,0 +1,27 @@
+/* 
+   Unix SMB/CIFS implementation.
+
+   Copyright (C) Stefan Metzmacher 2007
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+#ifndef _NTVFS_COMMON_H_
+#define _NTVFS_COMMON_H_
+
+#include "ntvfs/common/brlock.h"
+#include "ntvfs/common/proto.h"
+
+#endif /* _NTVFS_COMMON_H_ */

Modified: branches/SAMBA_4_0/source/ntvfs/common/opendb.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/common/opendb.c	2007-01-19 04:32:04 UTC (rev 20896)
+++ branches/SAMBA_4_0/source/ntvfs/common/opendb.c	2007-01-19 11:58:03 UTC (rev 20897)
@@ -46,6 +46,7 @@
 #include "lib/messaging/irpc.h"
 #include "librpc/gen_ndr/ndr_opendb.h"
 #include "ntvfs/ntvfs.h"
+#include "ntvfs/common/ntvfs_common.h"
 #include "cluster/cluster.h"
 
 struct odb_context {

Modified: branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.h
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.h	2007-01-19 04:32:04 UTC (rev 20896)
+++ branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.h	2007-01-19 11:58:03 UTC (rev 20897)
@@ -26,7 +26,7 @@
 #include "librpc/gen_ndr/xattr.h"
 #include "system/filesys.h"
 #include "ntvfs/ntvfs.h"
-#include "ntvfs/common/proto.h"
+#include "ntvfs/common/ntvfs_common.h"
 #include "dsdb/samdb/samdb.h"
 
 /* this is the private structure for the posix vfs backend. It is used



More information about the samba-cvs mailing list