summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-06 23:28:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:21 -0500
commitba564a901e519b0f2cf2b7651bd260f618506b5c (patch)
treea898ee789be671abe8ca6039d90a419f3fe39149 /source4/ntvfs
parentc389883ba2c93dfc11ac410a952f42f1065057d2 (diff)
downloadsamba-ba564a901e519b0f2cf2b7651bd260f618506b5c.tar.gz
samba-ba564a901e519b0f2cf2b7651bd260f618506b5c.tar.bz2
samba-ba564a901e519b0f2cf2b7651bd260f618506b5c.zip
r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/config.mk2
-rw-r--r--source4/ntvfs/ipc/ipc_rap.c1
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c1
-rw-r--r--source4/ntvfs/simple/vfs_simple.c1
4 files changed, 5 insertions, 0 deletions
diff --git a/source4/ntvfs/config.mk b/source4/ntvfs/config.mk
index 177ce5d77b..84ec59e028 100644
--- a/source4/ntvfs/config.mk
+++ b/source4/ntvfs/config.mk
@@ -19,6 +19,7 @@ REQUIRED_SUBSYSTEMS = \
[MODULE::ntvfs_simple]
INIT_FUNCTION = ntvfs_simple_init
SUBSYSTEM = NTVFS
+PRIVATE_PROTO_HEADER = simple/proto.h
OBJ_FILES = \
simple/vfs_simple.o \
simple/svfs_util.o
@@ -40,6 +41,7 @@ OBJ_FILES = \
[MODULE::ntvfs_ipc]
SUBSYSTEM = NTVFS
INIT_FUNCTION = ntvfs_ipc_init
+PRIVATE_PROTO_HEADER = ipc/proto.h
OBJ_FILES = \
ipc/vfs_ipc.o \
ipc/ipc_rap.o \
diff --git a/source4/ntvfs/ipc/ipc_rap.c b/source4/ntvfs/ipc/ipc_rap.c
index f97ae4cd89..5656a96621 100644
--- a/source4/ntvfs/ipc/ipc_rap.c
+++ b/source4/ntvfs/ipc/ipc_rap.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "libcli/rap/rap.h"
+#include "ntvfs/ipc/proto.h"
#define NERR_Success 0
#define NERR_badpass 86
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index dd7994c1fb..d5259bc9a6 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -29,6 +29,7 @@
#include "dlinklist.h"
#include "smb_server/smb_server.h"
#include "ntvfs/ntvfs.h"
+#include "ntvfs/ipc/proto.h"
#include "rpc_server/dcerpc_server.h"
#define IPC_BASE_FNUM 0x400
diff --git a/source4/ntvfs/simple/vfs_simple.c b/source4/ntvfs/simple/vfs_simple.c
index ad06a95041..ce14877277 100644
--- a/source4/ntvfs/simple/vfs_simple.c
+++ b/source4/ntvfs/simple/vfs_simple.c
@@ -34,6 +34,7 @@
#include "dlinklist.h"
#include "smb_server/smb_server.h"
#include "ntvfs/ntvfs.h"
+#include "ntvfs/simple/proto.h"
#ifndef O_DIRECTORY
#define O_DIRECTORY 0