* ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Use cast instead of
extra check.
+2019-11-22 Nick Clifton <nickc@redhat.com>
+
+ * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Use cast instead of
+ extra check.
+
2019-11-21 Nick Clifton <nickc@redhat.com>
* ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Check for an empty
#define LANG_FOR_EACH_INPUT_STATEMENT(statement) \
lang_input_statement_type *statement; \
- for (statement = file_chain.head == NULL ? NULL : &file_chain.head->input_statement; \
+ for (statement = (lang_input_statement_type *) file_chain.head; \
statement != NULL; \
statement = statement->next)