1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00

lib: Remove global xfile.h includes

This makes it more obvious where this legacy code is used

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Nov 20 06:23:19 CET 2016 on sn-devel-144
This commit is contained in:
Volker Lendecke 2016-11-16 17:17:25 +00:00 committed by Jeremy Allison
parent c06b78d0be
commit df9e7c7ae5
15 changed files with 12 additions and 3 deletions

View File

@ -46,7 +46,6 @@ extern const char *panic_action;
#include "lib/util/time.h"
#include "lib/util/data_blob.h"
#include "lib/util/xfile.h"
#include "lib/util/byteorder.h"
#include "lib/util/talloc_stack.h"

View File

@ -24,6 +24,7 @@
#include "system/select.h"
#include "system/readline.h"
#include "libcli/smbreadline/smbreadline.h"
#include "lib/util/xfile.h"
#undef malloc

View File

@ -22,6 +22,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "auth.h"
#include "lib/util/xfile.h"
/*******************************************************************
Map a username from a dos name to a unix name by looking in the username

View File

@ -39,6 +39,7 @@
#include "libsmb/nmblib.h"
#include "include/ntioctl.h"
#include "../libcli/smb/smbXcli_base.h"
#include "lib/util/xfile.h"
#ifndef REGISTER
#define REGISTER 0

View File

@ -303,7 +303,6 @@ typedef char fstring[FSTRING_LEN];
/* Lists, trees, caching, database... */
#include "../lib/util/samba_util.h"
#include "../lib/util/util_net.h"
#include "../lib/util/xfile.h"
#include "../lib/util/memory.h"
#include "../lib/util/attr.h"
#include "../lib/util/tsort.h"

View File

@ -24,6 +24,7 @@
#include "system/filesys.h"
#include "popt_common.h"
#include "lib/param/param.h"
#include "lib/util/xfile.h"
/* Handle command line options:
* -d,--debuglevel

View File

@ -24,6 +24,7 @@
#include "smbd/globals.h"
#include "auth.h"
#include "../lib/tsocket/tsocket.h"
#include "lib/util/xfile.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS

View File

@ -25,6 +25,7 @@
#define SYNC_DNS 1
#endif
#include "lib/util/xfile.h"
#include "libsmb/nmblib.h"
#include "nmbd/nmbd_proto.h"

View File

@ -27,6 +27,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "printing/pcap.h"
#include "lib/util/xfile.h"
#ifdef AIX
bool aix_cache_reload(struct pcap_cache **_pcache)

View File

@ -57,6 +57,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "printing/pcap.h"
#include "lib/util/xfile.h"
/* handle standard printcap - moved from pcap_printer_fn() */
bool std_pcap_cache_reload(const char *pcap_name, struct pcap_cache **_pcache)

View File

@ -31,6 +31,7 @@
#include "rpc_server/svcctl/srv_svcctl_reg.h"
#include "auth.h"
#include "registry/reg_backend_db.h"
#include "lib/util/xfile.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY

View File

@ -47,6 +47,7 @@
#include "nsswitch/libwbclient/wbclient.h"
#include "lib/param/loadparm.h"
#include "lib/util/base64.h"
#include "lib/util/xfile.h"
#if HAVE_KRB5
#include "auth/kerberos/pac_utils.h"

View File

@ -24,6 +24,7 @@
#include "idmap.h"
#include "idmap_hash.h"
#include <stdio.h>
#include "lib/util/xfile.h"
XFILE *lw_map_file = NULL;

View File

@ -55,7 +55,6 @@
#ifndef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
#endif
#include "../lib/util/xfile.h"
#include "../lib/util/attr.h"
/* debug.h need to be included before samba_util.h for the macro SMB_ASSERT */

View File

@ -39,6 +39,7 @@
#include "auth/ntlmssp/ntlmssp.h"
#include "param/param.h"
#include "lib/util/base64.h"
#include "lib/util/xfile.h"
#define INITIAL_BUFFER_SIZE 300
#define MAX_BUFFER_SIZE 63000