continue;
}
- /* Check for init_priorities that are reserved for
- implementation. Reserved for language and runtime
- support implementations.*/
- if ((10 <= pri && pri <= 99)
- /* Reserved for standard library implementations. */
- || (500 <= pri && pri <= 999)
- /* Reserved for objects with no attributes. */
- || pri > (MAX_INIT_PRIORITY - 50))
+ if (pri > MAX_INIT_PRIORITY || pri <= 0)
{
- warning
- ("requested init_priority is reserved for internal use");
+ error ("requested init_priority is out of range");
continue;
}
- if (pri > MAX_INIT_PRIORITY || pri <= 0)
+ /* Check for init_priorities that are reserved for
+ language and runtime support implementations.*/
+ if (pri <= MAX_RESERVED_INIT_PRIORITY)
{
- error ("requested init_priority is out of range");
- continue;
+ warning
+ ("requested init_priority is reserved for internal use");
}
static_aggregates_initp