Fix another C89 violation, make MagicKey an enum so we can use it
to initialize static const structs.