Move globals into main() function
commit5534e5cca02351cecd145aed882d5cab9fae0515
authorMatthew Brush <mbrush@codebrainz.ca>
Sun, 7 Feb 2016 17:46:57 +0000 (7 09:46 -0800)
committerThomas Martitz <kugel@rockbox.org>
Tue, 16 Feb 2016 05:52:08 +0000 (16 06:52 +0100)
tree8afb61977ae66fea671cc7e4bd28bb1e82a2b023
parent5290f18916e86b1d6bc92b3a8353765708ccfdc6
Move globals into main() function

This prevents running a bunch of top-level code if the module is
ever imported and cleans-up the global namespace.
scripts/gen-api-gtkdoc.py