summaryrefslogtreecommitdiff
path: root/src/yapf/yapf_settings.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
commit24c4d5b06d231785db01500360c26815d8fe4d15 (patch)
tree757477dbdc02025cc29690a4e66e40f872cab02b /src/yapf/yapf_settings.h
parent36bb92ae241403d61dc7a3e5a1696b615be61395 (diff)
downloadopenttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/yapf/yapf_settings.h')
-rw-r--r--src/yapf/yapf_settings.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yapf/yapf_settings.h b/src/yapf/yapf_settings.h
index aea509441..0d840721d 100644
--- a/src/yapf/yapf_settings.h
+++ b/src/yapf/yapf_settings.h
@@ -11,17 +11,17 @@
# ifndef YS_DEF
/*
* if YS_DEF is not defined, we will only do following declaration:
- * typedef struct YapfSettings {
+ * struct YapfSettings {
* bool disable_node_optimization;
* uint32 max_search_nodes;
* .... all other yapf related settings ...
- * } YapfSettings;
+ * };
*
* otherwise we will just expand YS_DEF_xx macros and then #undef them
*/
-# define YS_DEF_BEGIN typedef struct YapfSettings {
+# define YS_DEF_BEGIN struct YapfSettings {
# define YS_DEF(type, name) type name;
-# define YS_DEF_END } YapfSettings;
+# define YS_DEF_END };
# endif /* !YS_DEF */