dovecot-2.2-pigeonhole: Remove now-unnecessary direct stdlib.h #...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Wed Sep 23 20:54:47 UTC 2015
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/7038e943e853
changeset: 2103:7038e943e853
user: Stephan Bosch <stephan at rename-it.nl>
date: Wed Sep 23 22:54:11 2015 +0200
description:
Remove now-unnecessary direct stdlib.h #includes.
diffstat:
src/lib-sieve-tool/mail-raw.c | 1 -
src/lib-sieve-tool/sieve-tool.c | 1 -
src/lib-sieve/plugins/include/ext-include-common.c | 1 -
src/lib-sieve/plugins/subaddress/ext-subaddress.c | 1 -
src/lib-sieve/sieve-common.h | 1 -
src/lib-sieve/sieve-error.c | 1 -
src/lib-sieve/sieve-lexer.c | 1 -
src/lib-sieve/sieve-settings.c | 1 -
src/lib-sieve/sieve.c | 1 -
src/lib-sieve/storage/file/sieve-file-script-sequence.c | 1 -
src/lib-sieve/storage/file/sieve-file-script.c | 1 -
src/lib-sieve/storage/file/sieve-file-storage-list.c | 1 -
src/lib-sieve/storage/file/sieve-file-storage-quota.c | 1 -
src/lib-sieve/storage/file/sieve-file-storage-save.c | 1 -
src/lib-sieve/storage/file/sieve-file-storage.c | 1 -
src/lib-sieve/storage/ldap/sieve-ldap-db.c | 1 -
src/lib-sieve/util/realpath.c | 1 -
src/managesieve-login/client-authenticate.c | 1 -
src/managesieve-login/client.c | 1 -
src/managesieve-login/managesieve-login-settings-plugin.c | 1 -
src/managesieve/cmd-noop.c | 1 -
src/managesieve/main.c | 1 -
src/managesieve/managesieve-client.c | 1 -
src/managesieve/managesieve-commands.c | 1 -
src/managesieve/managesieve-settings.c | 1 -
src/plugins/lda-sieve/lda-sieve-plugin.c | 1 -
src/plugins/sieve-extprograms/sieve-extprograms-common.c | 1 -
src/sieve-tools/sieve-dump.c | 1 -
src/sieve-tools/sieve-filter.c | 1 -
src/sieve-tools/sieve-test.c | 1 -
src/sieve-tools/sievec.c | 1 -
src/testsuite/testsuite-common.c | 1 -
src/testsuite/testsuite.c | 1 -
33 files changed, 0 insertions(+), 33 deletions(-)
diffs (truncated from 363 to 300 lines):
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve-tool/mail-raw.c
--- a/src/lib-sieve-tool/mail-raw.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve-tool/mail-raw.c Wed Sep 23 22:54:11 2015 +0200
@@ -20,7 +20,6 @@
#include "mail-raw.h"
#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <pwd.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve-tool/sieve-tool.c
--- a/src/lib-sieve-tool/sieve-tool.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve-tool/sieve-tool.c Wed Sep 23 22:54:11 2015 +0200
@@ -24,7 +24,6 @@
#include "sieve-tool.h"
#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <pwd.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/plugins/include/ext-include-common.c
--- a/src/lib-sieve/plugins/include/ext-include-common.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/plugins/include/ext-include-common.c Wed Sep 23 22:54:11 2015 +0200
@@ -23,7 +23,6 @@
#include "ext-include-binary.h"
#include "ext-include-variables.h"
-#include <stdlib.h>
/*
* Forward declarations
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/plugins/subaddress/ext-subaddress.c
--- a/src/lib-sieve/plugins/subaddress/ext-subaddress.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/plugins/subaddress/ext-subaddress.c Wed Sep 23 22:54:11 2015 +0200
@@ -23,7 +23,6 @@
#include "sieve-generator.h"
#include "sieve-interpreter.h"
-#include <stdlib.h>
#include <string.h>
/*
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/sieve-common.h
--- a/src/lib-sieve/sieve-common.h Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/sieve-common.h Wed Sep 23 22:54:11 2015 +0200
@@ -10,7 +10,6 @@
#include "sieve-types.h"
#include <sys/types.h>
-#include <stdlib.h>
/*
* Types
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/sieve-error.c
--- a/src/lib-sieve/sieve-error.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/sieve-error.c Wed Sep 23 22:54:11 2015 +0200
@@ -15,7 +15,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/sieve-lexer.c
--- a/src/lib-sieve/sieve-lexer.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/sieve-lexer.c Wed Sep 23 22:54:11 2015 +0200
@@ -18,7 +18,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/sieve-settings.c
--- a/src/lib-sieve/sieve-settings.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/sieve-settings.c Wed Sep 23 22:54:11 2015 +0200
@@ -8,7 +8,6 @@
#include "sieve-error.h"
#include "sieve-settings.h"
-#include <stdlib.h>
#include <ctype.h>
// FIXME: add to dovecot
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/sieve.c
--- a/src/lib-sieve/sieve.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/sieve.c Wed Sep 23 22:54:11 2015 +0200
@@ -32,7 +32,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <dirent.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/storage/file/sieve-file-script-sequence.c
--- a/src/lib-sieve/storage/file/sieve-file-script-sequence.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-script-sequence.c Wed Sep 23 22:54:11 2015 +0200
@@ -12,7 +12,6 @@
#include "sieve-file-storage.h"
#include <stdio.h>
-#include <stdlib.h>
#include <dirent.h>
/*
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/storage/file/sieve-file-script.c
--- a/src/lib-sieve/storage/file/sieve-file-script.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-script.c Wed Sep 23 22:54:11 2015 +0200
@@ -14,7 +14,6 @@
#include "sieve-file-storage.h"
#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
#include <time.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/storage/file/sieve-file-storage-list.c
--- a/src/lib-sieve/storage/file/sieve-file-storage-list.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage-list.c Wed Sep 23 22:54:11 2015 +0200
@@ -10,7 +10,6 @@
#include "sieve-file-storage.h"
#include <stdio.h>
-#include <stdlib.h>
#include <dirent.h>
struct sieve_file_list_context {
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/storage/file/sieve-file-storage-quota.c
--- a/src/lib-sieve/storage/file/sieve-file-storage-quota.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage-quota.c Wed Sep 23 22:54:11 2015 +0200
@@ -10,7 +10,6 @@
#include "sieve-file-storage.h"
#include <stdio.h>
-#include <stdlib.h>
#include <dirent.h>
#include <unistd.h>
#include <fcntl.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/storage/file/sieve-file-storage-save.c
--- a/src/lib-sieve/storage/file/sieve-file-storage-save.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage-save.c Wed Sep 23 22:54:11 2015 +0200
@@ -14,7 +14,6 @@
#include "sieve-file-storage.h"
#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <utime.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/storage/file/sieve-file-storage.c
--- a/src/lib-sieve/storage/file/sieve-file-storage.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/storage/file/sieve-file-storage.c Wed Sep 23 22:54:11 2015 +0200
@@ -21,7 +21,6 @@
#include "sieve-file-storage.h"
#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
#include <utime.h>
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/storage/ldap/sieve-ldap-db.c
--- a/src/lib-sieve/storage/ldap/sieve-ldap-db.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/storage/ldap/sieve-ldap-db.c Wed Sep 23 22:54:11 2015 +0200
@@ -24,7 +24,6 @@
#include "istream.h"
#include <stddef.h>
-#include <stdlib.h>
#include <unistd.h>
struct db_ldap_result {
diff -r c1e233848ecd -r 7038e943e853 src/lib-sieve/util/realpath.c
--- a/src/lib-sieve/util/realpath.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/lib-sieve/util/realpath.c Wed Sep 23 22:54:11 2015 +0200
@@ -5,7 +5,6 @@
#include "realpath.h"
-#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
diff -r c1e233848ecd -r 7038e943e853 src/managesieve-login/client-authenticate.c
--- a/src/managesieve-login/client-authenticate.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/managesieve-login/client-authenticate.c Wed Sep 23 22:54:11 2015 +0200
@@ -19,7 +19,6 @@
#include "client-authenticate.h"
#include "managesieve-proxy.h"
-#include <stdlib.h>
const char *client_authenticate_get_capabilities
(struct client *client)
diff -r c1e233848ecd -r 7038e943e853 src/managesieve-login/client.c
--- a/src/managesieve-login/client.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/managesieve-login/client.c Wed Sep 23 22:54:11 2015 +0200
@@ -23,7 +23,6 @@
#include "managesieve-login-settings.h"
#include "managesieve-proxy.h"
-#include <stdlib.h>
/* Disconnect client when it sends too many bad commands */
#define CLIENT_MAX_BAD_COMMANDS 3
diff -r c1e233848ecd -r 7038e943e853 src/managesieve-login/managesieve-login-settings-plugin.c
--- a/src/managesieve-login/managesieve-login-settings-plugin.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/managesieve-login/managesieve-login-settings-plugin.c Wed Sep 23 22:54:11 2015 +0200
@@ -16,7 +16,6 @@
#include <unistd.h>
#include <sys/wait.h>
#include <sysexits.h>
-#include <stdlib.h>
typedef enum { CAP_SIEVE, CAP_NOTIFY } capability_type_t;
diff -r c1e233848ecd -r 7038e943e853 src/managesieve/cmd-noop.c
--- a/src/managesieve/cmd-noop.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/managesieve/cmd-noop.c Wed Sep 23 22:54:11 2015 +0200
@@ -9,7 +9,6 @@
#include "managesieve-common.h"
#include "managesieve-commands.h"
-#include <stdlib.h>
bool cmd_noop(struct client_command_context *cmd)
{
diff -r c1e233848ecd -r 7038e943e853 src/managesieve/main.c
--- a/src/managesieve/main.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/managesieve/main.c Wed Sep 23 22:54:11 2015 +0200
@@ -24,7 +24,6 @@
#include "managesieve-capabilities.h"
#include <stdio.h>
-#include <stdlib.h>
#include <unistd.h>
#define IS_STANDALONE() \
diff -r c1e233848ecd -r 7038e943e853 src/managesieve/managesieve-client.c
--- a/src/managesieve/managesieve-client.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/managesieve/managesieve-client.c Wed Sep 23 22:54:11 2015 +0200
@@ -23,7 +23,6 @@
#include "managesieve-commands.h"
#include "managesieve-client.h"
-#include <stdlib.h>
#include <unistd.h>
extern struct mail_storage_callbacks mail_storage_callbacks;
diff -r c1e233848ecd -r 7038e943e853 src/managesieve/managesieve-commands.c
--- a/src/managesieve/managesieve-commands.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/managesieve/managesieve-commands.c Wed Sep 23 22:54:11 2015 +0200
@@ -7,7 +7,6 @@
#include "managesieve-common.h"
#include "managesieve-commands.h"
-#include <stdlib.h>
/* Might want to combine this somewhere in a commands-common.c
* to avoid duplicate code
diff -r c1e233848ecd -r 7038e943e853 src/managesieve/managesieve-settings.c
--- a/src/managesieve/managesieve-settings.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/managesieve/managesieve-settings.c Wed Sep 23 22:54:11 2015 +0200
@@ -12,7 +12,6 @@
#include "managesieve-settings.h"
#include <stddef.h>
-#include <stdlib.h>
#include <unistd.h>
static bool managesieve_settings_verify(void *_set, pool_t pool,
diff -r c1e233848ecd -r 7038e943e853 src/plugins/lda-sieve/lda-sieve-plugin.c
--- a/src/plugins/lda-sieve/lda-sieve-plugin.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/plugins/lda-sieve/lda-sieve-plugin.c Wed Sep 23 22:54:11 2015 +0200
@@ -20,7 +20,6 @@
#include "lda-sieve-log.h"
#include "lda-sieve-plugin.h"
-#include <stdlib.h>
#include <sys/stat.h>
#include <dirent.h>
diff -r c1e233848ecd -r 7038e943e853 src/plugins/sieve-extprograms/sieve-extprograms-common.c
--- a/src/plugins/sieve-extprograms/sieve-extprograms-common.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/plugins/sieve-extprograms/sieve-extprograms-common.c Wed Sep 23 22:54:11 2015 +0200
@@ -36,7 +36,6 @@
#include "sieve-extprograms-common.h"
-#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
diff -r c1e233848ecd -r 7038e943e853 src/sieve-tools/sieve-dump.c
--- a/src/sieve-tools/sieve-dump.c Wed Sep 23 21:57:31 2015 +0200
+++ b/src/sieve-tools/sieve-dump.c Wed Sep 23 22:54:11 2015 +0200
More information about the dovecot-cvs
mailing list