* 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:
Pavel Roskin 2001-06-25 21:34:46 +00:00
parent d6ec3110bd
commit 680f3f7ed2
9 changed files with 22 additions and 5 deletions

View File

@ -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

View File

@ -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>

View File

@ -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)
{

View File

@ -36,6 +36,8 @@
/* Define this if your ssh can take -I option */
#include <config.h>
#undef HAVE_HACKED_SSH
#include "utilvfs.h"

View File

@ -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 */

View File

@ -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

View File

@ -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 */

View File

@ -1,4 +1,3 @@
#include <config.h>
#include "../src/global.h"
#include "../src/tty.h" /* enable/disable interrupt key */

View File

@ -3,7 +3,6 @@
/* $Id$ */
#include <config.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>