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:57:58 +0800 |
commit | 4e782c997232e09b11d0570bed3cb75fa0791f70 (patch) | |
tree | b4cbb1aecfe0ce7e064e3ab11010d4d94793232d /e-util | |
parent | c21f285dc7f5bdc9119ccb5a6ab4657b5b473ef8 (diff) | |
download | gsoc2013-evolution-4e782c997232e09b11d0570bed3cb75fa0791f70.tar gsoc2013-evolution-4e782c997232e09b11d0570bed3cb75fa0791f70.tar.gz gsoc2013-evolution-4e782c997232e09b11d0570bed3cb75fa0791f70.tar.bz2 gsoc2013-evolution-4e782c997232e09b11d0570bed3cb75fa0791f70.tar.lz gsoc2013-evolution-4e782c997232e09b11d0570bed3cb75fa0791f70.tar.xz gsoc2013-evolution-4e782c997232e09b11d0570bed3cb75fa0791f70.tar.zst gsoc2013-evolution-4e782c997232e09b11d0570bed3cb75fa0791f70.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.
(cherry picked from commit 3777e4887c286282b5e24b42328a6a660d7360c8)
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 { |