r20897: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Fri, 19 Jan 2007 11:58:03 +0000 (11:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:43:48 +0000 (14:43 -0500)
metze
(This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)

source4/ntvfs/common/brlock.c
source4/ntvfs/common/notify.c
source4/ntvfs/common/ntvfs_common.h [new file with mode: 0644]
source4/ntvfs/common/opendb.c
source4/ntvfs/posix/vfs_posix.h

index e483a6ba9b9c69840407f032f61054704a4bdef1..8397c3bdd323140b786b149da8a645706b679ef1 100644 (file)
@@ -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;
 
index 8ba918d8af776a243c22106e934afcfb1fb2735c..0ee66a5a41d67737061f9d30a55f2a41d2299599 100644 (file)
@@ -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"
 
diff --git a/source4/ntvfs/common/ntvfs_common.h b/source4/ntvfs/common/ntvfs_common.h
new file mode 100644 (file)
index 0000000..08f34c1
--- /dev/null
@@ -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_ */
index df6bb7249b7652b5fe8b9ff0c019d38f3a30644b..e272ece3e5bb6a6bdae36aee14716b2c8bac5336 100644 (file)
@@ -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 {
index 5bb9dcf811f452ebbd63d750a0a65ec364a2b933..e79eadd03a0db96bbee8bb433f669197506fe843 100644 (file)
@@ -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