src/yapf/yapf_settings.h
changeset 6248 e4a2ed7e5613
parent 6121 2aae24b0881f
child 9111 48ce04029fe4
--- a/src/yapf/yapf_settings.h	Wed Mar 07 11:47:46 2007 +0000
+++ b/src/yapf/yapf_settings.h	Wed Mar 07 12:11:48 2007 +0000
@@ -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 */