mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* cpio.c: Include <config.h> before everything else.
* direntry.c: Likewise. * fish.c: Likewise. * ftpfs.c: Likewise. * local.c: Likewise. * tar.c: Likewise. * utilvfs.h: Don't include <config.h> - it should be included in all C files instead. * xdirentry.h: Likewise.
This commit is contained in:
parent
d6ec3110bd
commit
680f3f7ed2
@ -1,3 +1,15 @@
|
||||
2001-06-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* cpio.c: Include <config.h> before everything else.
|
||||
* direntry.c: Likewise.
|
||||
* fish.c: Likewise.
|
||||
* ftpfs.c: Likewise.
|
||||
* local.c: Likewise.
|
||||
* tar.c: Likewise.
|
||||
* utilvfs.h: Don't include <config.h> - it should be included
|
||||
in all C files instead.
|
||||
* xdirentry.h: Likewise.
|
||||
|
||||
2001-06-19 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* local.c (local_telldir): Warn and abort if telldir() is not
|
||||
|
@ -19,6 +19,7 @@
|
||||
License along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <config.h>
|
||||
#include "xdirentry.h"
|
||||
#include "utilvfs.h"
|
||||
#include <glib.h>
|
||||
|
@ -26,7 +26,7 @@
|
||||
* Paths here do _not_ begin with '/', so root directory of
|
||||
* archive/site is simply "". Beware. */
|
||||
|
||||
static volatile int total_inodes = 0, total_entries = 0;
|
||||
#include <config.h>
|
||||
|
||||
#include "utilvfs.h"
|
||||
#include "xdirentry.h"
|
||||
@ -34,6 +34,8 @@ static volatile int total_inodes = 0, total_entries = 0;
|
||||
|
||||
#define CALL(x) if (MEDATA->x) MEDATA->x
|
||||
|
||||
static volatile int total_inodes = 0, total_entries = 0;
|
||||
|
||||
vfs_s_inode *
|
||||
vfs_s_new_inode (vfs *me, vfs_s_super *super, struct stat *initstat)
|
||||
{
|
||||
|
@ -36,6 +36,8 @@
|
||||
|
||||
/* Define this if your ssh can take -I option */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#undef HAVE_HACKED_SSH
|
||||
|
||||
#include "utilvfs.h"
|
||||
|
@ -56,6 +56,7 @@ What to do with this?
|
||||
|
||||
/* Namespace pollution: horrible */
|
||||
|
||||
#include <config.h>
|
||||
#include <sys/types.h> /* POSIX-required by sys/socket.h and netdb.h */
|
||||
#include <netdb.h> /* struct hostent */
|
||||
#include <sys/socket.h> /* AF_INET */
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include <config.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
@ -9,7 +10,6 @@
|
||||
#include "utilvfs.h"
|
||||
|
||||
#include "vfs.h"
|
||||
#include <config.h>
|
||||
#include "local.h"
|
||||
|
||||
/* Note: Some of this functions are not static. This has rather good
|
||||
|
@ -20,9 +20,10 @@
|
||||
|
||||
/* Namespace: vfs_tarfs_ops */
|
||||
|
||||
#include "xdirentry.h"
|
||||
#include <config.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "xdirentry.h"
|
||||
#include "utilvfs.h"
|
||||
|
||||
#include "../src/dialog.h" /* For MSG_ERROR */
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include <config.h>
|
||||
#include "../src/global.h"
|
||||
|
||||
#include "../src/tty.h" /* enable/disable interrupt key */
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
Loading…
Reference in New Issue
Block a user