PR c++/24979
* cp-tree.h (DECL_MAIN_P): Remove duplicate definition.
From-SVN: r107578
+2005-11-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/24979
+ * cp-tree.h (DECL_MAIN_P): Remove duplicate definition.
+
2005-11-26 Richard Henderson <rth@redhat.com>
* lex.c: Update for pragma_lex rename.
&& IDENTIFIER_POINTER (ID_NODE)[1] == '_')
#endif /* !defined(NO_DOLLAR_IN_LABEL) || !defined(NO_DOT_IN_LABEL) */
-/* Returns nonzero iff NODE is a declaration for the global function
- `main'. */
-#define DECL_MAIN_P(NODE) \
- (DECL_EXTERN_C_FUNCTION_P (NODE) \
- && DECL_NAME (NODE) != NULL_TREE \
- && MAIN_NAME_P (DECL_NAME (NODE)))
-
\f
/* Nonzero if we're done parsing and into end-of-file activities. */