commit 44c86784469ee2604c447bc3fef963e56c3017df Author: Jacob Welsh AuthorDate: Sat Nov 5 02:08:32 2022 +0000 Commit: Jacob Welsh CommitDate: Sat Nov 5 02:08:32 2022 +0000 Type: dead code removal config.h: drop definitions not referenced anywhere in the codebase diff --git a/config.h b/config.h index 2f44c6afd2..acb23c61d3 100644 --- a/config.h +++ b/config.h @@ -1,8 +1,4 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define if building universal (internal helper macro) */ -/* #undef AC_APPLE_UNIVERSAL_BUILD */ +/* Adapted from output of configure on Gales Linux, x86_64 */ /* Define if you have buggy CMSG macros */ /* #undef BUGGY_CMSG_MACROS */ @@ -13,9 +9,6 @@ /* Build with CDB support */ /* #undef BUILD_CDB */ -/* Build with Berkeley DB support */ -/* #undef BUILD_DB */ - /* Built-in MySQL support */ /* #undef BUILD_MYSQL */ @@ -58,12 +51,6 @@ /* Dovecot ABI version */ #define DOVECOT_ABI_VERSION "2.3.ABIv19(2.3.19.1)" -/* Dovecot name */ -#define DOVECOT_NAME "Dovecot" - -/* Dovecot string */ -#define DOVECOT_STRING "Dovecot 2.3.19.1" - /* Dovecot version */ #define DOVECOT_VERSION "2.3.19.1" @@ -124,15 +111,9 @@ /* Define if you have struct dirent->d_type */ #define HAVE_DIRENT_D_TYPE /**/ -/* Define to 1 if you have the header file. */ -#define HAVE_DIRENT_H 1 - /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 -/* Define to 1 if you have the header file. */ -#define HAVE_DLFCN_H 1 - /* Build with ECDSA_SIG_get0 support */ /* #undef HAVE_ECDSA_SIG_GET0 */ @@ -163,24 +144,12 @@ /* Define to 1 if you have the `flock' function. */ #define HAVE_FLOCK 1 -/* Define if your compiler has -fno-sanitize=nonnull-attribute */ -/* #undef HAVE_FNO_SANITIZE_NONNULL_ATTRIBUTE */ - /* Define if you have FreeBSD-compatible sendfile() */ /* #undef HAVE_FREEBSD_SENDFILE */ -/* Define if your compiler has -fsanitize=implicit-integer-truncation */ -/* #undef HAVE_FSANITIZE_IMPLICIT_INTEGER_TRUNCATION */ - /* Define if your compiler has -fsanitize=integer */ /* #undef HAVE_FSANITIZE_INTEGER */ -/* Define if your compiler has -fsanitize=local-bounds */ -/* #undef HAVE_FSANITIZE_LOCAL_BOUNDS */ - -/* Define if your compiler has -fsanitize=nullability */ -/* #undef HAVE_FSANITIZE_NULLABILITY */ - /* Define if your compiler has -fsanitize=undefined */ /* #undef HAVE_FSANITIZE_UNDEFINED */ @@ -190,12 +159,6 @@ /* Define if you want stemming support for FTS */ /* #undef HAVE_FTS_STEMMER */ -/* Define if you want textcat support for FTS */ -/* #undef HAVE_FTS_TEXTCAT */ - -/* Define to 1 if you have the `getmntent' function. */ -#define HAVE_GETMNTENT 1 - /* Define to 1 if you have the `getmntinfo' function. */ /* #undef HAVE_GETMNTINFO */ @@ -251,27 +214,9 @@ /* Define to 1 if you have the `inet_aton' function. */ #define HAVE_INET_ATON 1 -/* Define to 1 if you have the `inotify_init' function. */ -#define HAVE_INOTIFY_INIT 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Build with IPv6 support */ -#define HAVE_IPV6 /**/ - /* Define to 1 if you have the header file. */ /* #undef HAVE_JFS_QUOTA_H */ -/* Define to 1 if you have the `kevent' function. */ -/* #undef HAVE_KEVENT */ - -/* Define to 1 if you have the `kqueue' function. */ -/* #undef HAVE_KQUEUE */ - -/* Define to 1 if you have the `krb5_free_context' function. */ -/* #undef HAVE_KRB5_FREE_CONTEXT */ - /* Define to 1 if you have the `krb5_gss_register_acceptor_identity' function. */ /* #undef HAVE_KRB5_GSS_REGISTER_ACCEPTOR_IDENTITY */ @@ -294,9 +239,6 @@ /* Define to 1 if you have libsystemd */ /* #undef HAVE_LIBSYSTEMD */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LIBTEXTCAT_TEXTCAT_H */ - /* Define this if you have libunwind */ /* #undef HAVE_LIBUNWIND */ @@ -330,18 +272,12 @@ /* Define to 1 if you have the `lua_isinteger' function. */ /* #undef HAVE_LUA_ISINTEGER */ -/* Define to 1 if you have the `lua_resume' function. */ -/* #undef HAVE_LUA_RESUME */ - /* Define to 1 if you have the `lua_seti' function. */ /* #undef HAVE_LUA_SETI */ /* Define to 1 if you have the `lua_tointegerx' function. */ /* #undef HAVE_LUA_TOINTEGERX */ -/* Define to 1 if you have the `lua_yieldk' function. */ -/* #undef HAVE_LUA_YIELDK */ - /* Define if you have lz4 library */ /* #undef HAVE_LZ4 */ @@ -363,15 +299,9 @@ /* Define to 1 if you have the `malloc_usable_size' function. */ #define HAVE_MALLOC_USABLE_SIZE 1 -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_MNTENT_H 1 -/* Define if you have dynamic module support */ -/* #undef HAVE_MODULES */ - /* Build with MySQL support */ /* #undef HAVE_MYSQL */ @@ -400,24 +330,15 @@ /* OpenSSL supports OPENSSL_cleanup() */ /* #undef HAVE_OPENSSL_CLEANUP */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_OPENSSL_ERR_H */ - /* Define if you have ERR_remove_thread_state */ /* #undef HAVE_OPENSSL_ERR_REMOVE_THREAD_STATE */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_OPENSSL_SSL_H */ - /* Define if you have pam/pam_appl.h */ /* #undef HAVE_PAM_PAM_APPL_H */ /* Define if you have pam_setcred() */ /* #undef HAVE_PAM_SETCRED */ -/* Build with PostgreSQL support */ -/* #undef HAVE_PGSQL */ - /* Define to 1 if you have the `posix_fadvise' function. */ #define HAVE_POSIX_FADVISE 1 @@ -436,9 +357,6 @@ /* Define to 1 if you have the `quotactl' function. */ #define HAVE_QUOTACTL 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_QUOTA_H */ - /* Define if you have quota_open() */ /* #undef HAVE_QUOTA_OPEN */ @@ -499,18 +417,12 @@ /* Define to 1 if you have the `setrlimit' function. */ #define HAVE_SETRLIMIT 1 -/* Define to 1 if you have the `sigaction' function. */ -#define HAVE_SIGACTION 1 - /* Define to 'int' if you don't have socklen_t */ #define HAVE_SOCKLEN_T /**/ /* Define if you have Solaris-compatible sendfile() */ /* #undef HAVE_SOLARIS_SENDFILE */ -/* Build with SQLite3 support */ -/* #undef HAVE_SQLITE */ - /* Build with SSL/TLS support */ /* #undef HAVE_SSL */ @@ -562,9 +474,6 @@ /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1 @@ -574,9 +483,6 @@ /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - /* Define if struct sqblk.dqb_curblocks exists */ /* #undef HAVE_STRUCT_DQBLK_CURBLOCKS */ @@ -589,9 +495,6 @@ /* Define to 1 if the system has the type `struct sockpeercred'. */ /* #undef HAVE_STRUCT_SOCKPEERCRED */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_EVENT_H */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_FS_QUOTA_COMMON_H */ @@ -613,18 +516,12 @@ /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_SYS_SYSMACROS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UCRED_H */ @@ -667,9 +564,6 @@ /* Define if your compiler supports undefined sanitizers */ /* #undef HAVE_UNDEFINED_SANITIZER */ -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - /* Define if you have a native uoff_t type */ /* #undef HAVE_UOFF_T */ @@ -739,18 +633,12 @@ /* Define if you have ldap_start_tls_s */ /* #undef LDAP_HAVE_START_TLS_S */ -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#define LT_OBJDIR ".libs/" - /* Required memory alignment */ #define MEM_ALIGN_SIZE 8 /* Define if shared mmaps don't get updated by write()s */ /* #undef MMAP_CONFLICTS_WRITE */ -/* Dynamic module suffix */ -/* #undef MODULE_SUFFIX */ - /* Maximum value of off_t */ #define OFF_T_MAX LONG_MAX @@ -763,15 +651,9 @@ /* Define to the full name of this package. */ #define PACKAGE_NAME "Dovecot" -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "Dovecot 2.3.19.1" - /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "dovecot" -/* Define to the home page for this package. */ -#define PACKAGE_URL "" - /* Define to the version of this package. */ #define PACKAGE_VERSION "2.3.19.1" @@ -832,9 +714,6 @@ /* The size of `void *', as computed by sizeof. */ #define SIZEOF_VOID_P 8 -/* Build SQL drivers as plugins */ -/* #undef SQL_DRIVER_PLUGINS */ - /* Maximum value of ssize_t */ #define SSIZE_T_MAX LONG_MAX @@ -847,9 +726,6 @@ /* reasonable mntctl buffer size */ /* #undef STATIC_MTAB_SIZE */ -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - /* Points to textcat pkgdatadir containing the language files */ /* #undef TEXTCAT_DATADIR */ @@ -910,11 +786,6 @@ # endif #endif -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif - /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */