about summary refs log tree commit diff stats
path: root/080display.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-28 15:21:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-28 15:21:12 -0700
commit1ba81b0f57f965f390e09f40c5f70eb9931c7498 (patch)
tree1d9a10935897804d4c96a6de10baa1a475fb7463 /080display.cc
parentfd6d8612edf07ea4a4612fd5263ad4250e06c77f (diff)
downloadmu-1ba81b0f57f965f390e09f40c5f70eb9931c7498.tar.gz
3270
Clean up the Globals section so that we can generate extern declarations
for all globals out using this command after we carve it out into
globals.cc:

  grep ';' globals.cc |perl -pwe 's/[=(].*/;/' |perl -pwe 's/^[^\/# ]/extern $&/' > globals.h

The first perl command strips out initializers. The second prepends
'extern'. This simplistic approach requires each global definition to
lie all on one line.
Diffstat (limited to '080display.cc')
0 files changed, 0 insertions, 0 deletions