Why are you programming in C? (Not that I have anything against it, but what's the point? Is there anything we could know to help you?)
And if your programming in C++:
You define a const by saying:
const int i = 5;Not by saying:
int const i = 5;I'm not sure about a shorter and better way, however a loop might be possible? (Probably not )
Sorry if my answer is terrible, but I don't use SDL, and a little more clarification about what you're trying to do would probably be helpful.