summaryrefslogtreecommitdiff
path: root/source4/ntvfs/common
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-19 11:58:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:48 -0500
commitf40182cb123c91d4bc8fd3dbf9c3cca615f72c31 (patch)
tree977493d8c32588c0609cba48be66f7a3bc516370 /source4/ntvfs/common
parentfaf800d871b72ca4938c5f392d8b6183cce16e9d (diff)
downloadsamba-f40182cb123c91d4bc8fd3dbf9c3cca615f72c31.tar.gz
samba-f40182cb123c91d4bc8fd3dbf9c3cca615f72c31.tar.bz2
samba-f40182cb123c91d4bc8fd3dbf9c3cca615f72c31.zip
r20897: fix compiler warnings
metze (This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)
Diffstat (limited to 'source4/ntvfs/common')
-rw-r--r--source4/ntvfs/common/brlock.c2
-rw-r--r--source4/ntvfs/common/notify.c1
-rw-r--r--source4/ntvfs/common/ntvfs_common.h27
-rw-r--r--source4/ntvfs/common/opendb.c1
4 files changed, 30 insertions, 1 deletions
diff --git a/source4/ntvfs/common/brlock.c b/source4/ntvfs/common/brlock.c
index e483a6ba9b..8397c3bdd3 100644
--- a/source4/ntvfs/common/brlock.c
+++ b/source4/ntvfs/common/brlock.c
@@ -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;
diff --git a/source4/ntvfs/common/notify.c b/source4/ntvfs/common/notify.c
index 8ba918d8af..0ee66a5a41 100644
--- a/source4/ntvfs/common/notify.c
+++ b/source4/ntvfs/common/notify.c
@@ -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
index 0000000000..08f34c178f
--- /dev/null
+++ b/source4/ntvfs/common/ntvfs_common.h
@@ -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_ */
diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c
index df6bb7249b..e272ece3e5 100644
--- a/source4/ntvfs/common/opendb.c
+++ b/source4/ntvfs/common/opendb.c
@@ -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 {