Fix -Wmissing-variable-declarations regression.

This issue was introduced in r181677.

PR17349.