summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/debug.h1
-rw-r--r--source3/include/msdfs.h10
2 files changed, 1 insertions, 10 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h
index cad802d8ca..b726859a0b 100644
--- a/source3/include/debug.h
+++ b/source3/include/debug.h
@@ -41,6 +41,7 @@ int Debug1( char *, ... ) PRINTF_ATTRIBUTE(1,2);
BOOL dbgtext( char *, ... ) PRINTF_ATTRIBUTE(1,2);
extern XFILE *dbf;
+extern int DEBUGLEVEL;
/* If we have these macros, we can add additional info to the header. */
#ifdef HAVE_FILE_MACRO
diff --git a/source3/include/msdfs.h b/source3/include/msdfs.h
index 0748577b0b..df2ea5a6e4 100644
--- a/source3/include/msdfs.h
+++ b/source3/include/msdfs.h
@@ -59,8 +59,6 @@ struct dfs_path
pstring restofthepath;
};
-#ifdef WITH_MSDFS
-
#define RESOLVE_DFSPATH(name, conn, inbuf, outbuf) \
{ if(((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES)) && \
dfs_redirect(name,conn)) \
@@ -77,12 +75,4 @@ struct dfs_path
SSVAL(outbuf, smb_vwv2, SMB_SHARE_IN_DFS | SMB_SUPPORT_SEARCH_BITS); \
}
-#else
-/* Stub macros */
-#define RESOLVE_DFSPATH(name, conn, inbuf, outbuf) ;
-#define RESOLVE_FINDFIRST_DFSPATH(name, conn, inbuf, outbuf) ;
-#define init_dfsroot(conn, inbuf, outbuf) ;
-
-#endif
-
#endif /* _MSDFS_H */