8.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 DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.