9.21 Benign redeclarations

Benign redeclarations of typedef names are permitted.

That is, a typedef name can be redeclared in the same scope as the same type.

Example

typedef int INT;
typedef int INT; /* redeclaration */
Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.