diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-01-19 11:58:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:43:48 -0500 |
commit | f40182cb123c91d4bc8fd3dbf9c3cca615f72c31 (patch) | |
tree | 977493d8c32588c0609cba48be66f7a3bc516370 | |
parent | faf800d871b72ca4938c5f392d8b6183cce16e9d (diff) | |
download | samba-f40182cb123c91d4bc8fd3dbf9c3cca615f72c31.tar.gz samba-f40182cb123c91d4bc8fd3dbf9c3cca615f72c31.tar.bz2 samba-f40182cb123c91d4bc8fd3dbf9c3cca615f72c31.zip |
r20897: fix compiler warnings
metze
(This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)
-rw-r--r-- | source4/ntvfs/common/brlock.c | 2 | ||||
-rw-r--r-- | source4/ntvfs/common/notify.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/common/ntvfs_common.h | 27 | ||||
-rw-r--r-- | source4/ntvfs/common/opendb.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.h | 2 |
5 files changed, 31 insertions, 2 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 { diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h index 5bb9dcf811..e79eadd03a 100644 --- a/source4/ntvfs/posix/vfs_posix.h +++ b/source4/ntvfs/posix/vfs_posix.h @@ -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 |