1
1

Cleanup of includes in VFS sources.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
Andrew Borodin 2010-07-22 12:07:07 +04:00
родитель e1d7019ed3
Коммит 48318f3e5d
15 изменённых файлов: 37 добавлений и 41 удалений

Просмотреть файл

@ -32,14 +32,12 @@
#include "lib/global.h"
#include "lib/unixcompat.h"
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "vfs.h"
#include "src/wtools.h" /* message() */
#include "utilvfs.h"
#include "vfs-impl.h"
#include "gc.h" /* vfs_rmstamp */
#include "utilvfs.h"
#include "xdirentry.h"
#include "gc.h" /* vfs_rmstamp */
enum {
STATUS_START,

Просмотреть файл

@ -42,12 +42,11 @@
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "vfs.h"
#include "utilvfs.h"
#include "vfs-impl.h"
#include "gc.h" /* vfs_rmstamp */
#include "utilvfs.h"
#include "xdirentry.h"
#include "gc.h" /* vfs_rmstamp */
#define CALL(x) if (MEDATA->x) MEDATA->x

Просмотреть файл

@ -50,12 +50,11 @@
#include "lib/fileloc.h"
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "src/main.h" /* shell */
#include "src/execute.h" /* For shell_execute */
#include "utilvfs.h"
#include "vfs.h"
#include "vfs-impl.h"
#include "utilvfs.h"
#include "gc.h" /* vfs_rmstamp */
#undef ERRNOR

Просмотреть файл

@ -63,12 +63,13 @@
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "utilvfs.h"
#include "xdirentry.h"
#include "vfs.h"
#include "vfs-impl.h"
#include "gc.h" /* vfs_stamp_create */
#include "utilvfs.h"
#include "netutil.h"
#include "xdirentry.h"
#include "gc.h" /* vfs_stamp_create */
#include "fish.h"
#include "fishdef.h"

Просмотреть файл

@ -94,13 +94,14 @@ What to do with this?
#include "src/history.h"
#include "src/setup.h" /* for load_anon_passwd */
#include "utilvfs.h"
#include "xdirentry.h"
#include "vfs.h"
#include "vfs-impl.h"
#include "gc.h" /* vfs_stamp_create */
#include "utilvfs.h"
#include "netutil.h"
#include "xdirentry.h"
#include "gc.h" /* vfs_stamp_create */
#include "ftpfs.h"
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 64
#endif

Просмотреть файл

@ -48,10 +48,10 @@
#include "src/layout.h" /* get_current_type(), get_other_type() */
#include "vfs-impl.h"
#include "gc.h"
#include "utilvfs.h"
#include "gc.h"
int vfs_timeout = 60; /* VFS timeout in seconds */
static struct vfs_stamping *stamps;

Просмотреть файл

@ -14,11 +14,9 @@
#include "lib/global.h"
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "vfs-impl.h"
#include "utilvfs.h"
#include "vfs.h"
#include "local.h"
/**

Просмотреть файл

@ -28,6 +28,7 @@
#include <signal.h>
#include "lib/global.h"
#include "netutil.h"
volatile sig_atomic_t got_sigpipe = 0;

Просмотреть файл

@ -43,15 +43,14 @@
#include "lib/global.h"
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "src/wtools.h" /* D_ERROR, D_NORMAL */
#include "src/main.h" /* mc_home */
#include "src/execute.h" /* EXECUTE_AS_SHELL */
#include "utilvfs.h"
#include "vfs.h"
#include "vfs-impl.h"
#include "gc.h" /* vfs_stamp_create */
#include "utilvfs.h"
#include "local.h"
#include "gc.h" /* vfs_stamp_create */
struct cachedfile {
char *name, *cache;

Просмотреть файл

@ -43,7 +43,6 @@
#include "lib/global.h"
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME

Просмотреть файл

@ -43,12 +43,11 @@
#include "lib/global.h"
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "vfs.h"
#include "vfs-impl.h"
#include "utilvfs.h"
#include "gc.h" /* vfs_rmstamp */
#include "xdirentry.h"
#include "gc.h" /* vfs_rmstamp */
static struct vfs_class vfs_tarfs_ops;

Просмотреть файл

@ -57,10 +57,11 @@
#include <ctype.h>
#include "lib/global.h"
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "utilvfs.h"
#include "vfs.h"
#include "vfs-impl.h"
struct deleted_info

Просмотреть файл

@ -38,10 +38,10 @@
#include "lib/global.h"
#include "lib/unixcompat.h"
#include "src/wtools.h"
#include "src/wtools.h" /* message() */
#include "src/history.h"
#include "vfs.h"
#include "vfs-impl.h"
#include "utilvfs.h"
/** Get current username

Просмотреть файл

@ -52,16 +52,17 @@
#include "lib/global.h"
#include "lib/strutil.h"
#ifdef HAVE_CHARSET
#include "src/charsets.h"
#endif
#include "src/wtools.h" /* message() */
#include "src/main.h" /* print_vfs_message */
#include "src/main.h" /* cd_symlinks */
#include "vfs-impl.h"
#include "utilvfs.h"
#include "gc.h"
#include "vfs.h"
#ifdef ENABLE_VFS_NET
#include "netutil.h"
#endif
@ -71,6 +72,7 @@
#ifdef ENABLE_VFS_SMB
#include "smbfs.h"
#endif
#include "local.h"
#if defined(_AIX) && !defined(NAME_MAX)

Просмотреть файл

@ -9,7 +9,6 @@
#define MC_VFS_XDIRENTRY_H
#include <stdio.h>
#include <sys/types.h>
#define LINK_FOLLOW 15