diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-05-28 21:36:33 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-05-28 21:42:12 +0800 |
commit | 3777e4887c286282b5e24b42328a6a660d7360c8 (patch) | |
tree | 9e07efc540129588c35f755cb03711dbedd76445 /e-util | |
parent | 13958f5ad55a53fada84d0b0679af9d38019c6aa (diff) | |
download | gsoc2013-evolution-3777e4887c286282b5e24b42328a6a660d7360c8.tar.gz gsoc2013-evolution-3777e4887c286282b5e24b42328a6a660d7360c8.tar.zst gsoc2013-evolution-3777e4887c286282b5e24b42328a6a660d7360c8.zip |
configure.ac: Remove unused function and header checks.
This removes the following definitions from config.h:
CTIME_R_THREE_ARGS
GETHOSTBYADDR_R_SEVEN_ARGS
GETHOSTBYNAME_R_FIVE_ARGS
HAVE_ISBLANK
HAVE_MKSTEMP
HAVE_STATFS
HAVE_STATVFS
HAVE_SYS_MOUNT_H
HAVE_SYS_PARAM_H
HAVE_SYS_STATVFS_H
These were all either unused or unnecessarily used.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-file-utils.c | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/e-util/e-file-utils.c b/e-util/e-file-utils.c index 90b2e77205..982f0effed 100644 --- a/e-util/e-file-utils.c +++ b/e-util/e-file-utils.c @@ -21,40 +21,11 @@ * */ -#ifdef HAVE_CONFIG_H +#include "e-file-utils.h" + #include <config.h> -#endif - -#include <sys/types.h> -#include <sys/stat.h> -#include <unistd.h> - -/* This isn't as portable as, say, the stuff in GNU coreutils. - * But I care not for OSF1. */ -#ifdef HAVE_STATVFS -# ifdef HAVE_SYS_STATVFS_H -# include <sys/statvfs.h> -# endif -#else -#ifdef HAVE_STATFS -# ifdef HAVE_SYS_PARAM_H -# include <sys/param.h> /* bsd interface */ -# endif -# ifdef HAVE_SYS_MOUNT_H -# include <sys/mount.h> -# endif -#endif -#endif - -#include <errno.h> -#include <string.h> - -#include <glib/gstdio.h> #include <glib/gi18n-lib.h> -#include "e-activity.h" -#include "e-file-utils.h" - typedef struct _AsyncContext AsyncContext; struct _AsyncContext { |