dovecot-1.3: Code cleanup: Don't use __ prefix in header #defines.
dovecot at dovecot.org
dovecot at dovecot.org
Sat Apr 18 00:58:33 EEST 2009
details: http://hg.dovecot.org/dovecot-1.3/rev/3c8e0e094139
changeset: 9138:3c8e0e094139
user: Timo Sirainen <tss at iki.fi>
date: Fri Apr 17 17:58:28 2009 -0400
description:
Code cleanup: Don't use __ prefix in header #defines.
diffstat:
4 files changed, 8 insertions(+), 8 deletions(-)
src/config/common.h | 4 ++--
src/config/config-connection.h | 4 ++--
src/config/config-parser.h | 4 ++--
src/login-common/login-settings.h | 4 ++--
diffs (44 lines):
diff -r 40607877c3f9 -r 3c8e0e094139 src/config/common.h
--- a/src/config/common.h Fri Apr 17 17:20:24 2009 -0400
+++ b/src/config/common.h Fri Apr 17 17:58:28 2009 -0400
@@ -1,5 +1,5 @@
-#ifndef __COMMON_H
-#define __COMMON_H
+#ifndef COMMON_H
+#define COMMON_H
#include "lib.h"
diff -r 40607877c3f9 -r 3c8e0e094139 src/config/config-connection.h
--- a/src/config/config-connection.h Fri Apr 17 17:20:24 2009 -0400
+++ b/src/config/config-connection.h Fri Apr 17 17:58:28 2009 -0400
@@ -1,5 +1,5 @@
-#ifndef __CONFIG_CONNECTION_H
-#define __CONFIG_CONNECTION_H
+#ifndef CONFIG_CONNECTION_H
+#define CONFIG_CONNECTION_H
enum config_dump_flags {
CONFIG_DUMP_FLAG_HUMAN = 0x01,
diff -r 40607877c3f9 -r 3c8e0e094139 src/config/config-parser.h
--- a/src/config/config-parser.h Fri Apr 17 17:20:24 2009 -0400
+++ b/src/config/config-parser.h Fri Apr 17 17:58:28 2009 -0400
@@ -1,5 +1,5 @@
-#ifndef __CONFIG_PARSER_H
-#define __CONFIG_PARSER_H
+#ifndef CONFIG_PARSER_H
+#define CONFIG_PARSER_H
void config_parse_file(pool_t dest_pool, ARRAY_TYPE(const_string) *dest,
const char *path, const char *service);
diff -r 40607877c3f9 -r 3c8e0e094139 src/login-common/login-settings.h
--- a/src/login-common/login-settings.h Fri Apr 17 17:20:24 2009 -0400
+++ b/src/login-common/login-settings.h Fri Apr 17 17:58:28 2009 -0400
@@ -1,5 +1,5 @@
-#ifndef __LOGIN_SETTINGS_H
-#define __LOGIN_SETTINGS_H
+#ifndef LOGIN_SETTINGS_H
+#define LOGIN_SETTINGS_H
struct login_settings {
const char *login_dir;
More information about the dovecot-cvs
mailing list