diff options
author | 2012-03-09 18:06:03 -0800 | |
---|---|---|
committer | 2012-03-09 18:06:03 -0800 | |
commit | 719ace4734f519c67fd2c1ff7a232c079309a615 (patch) | |
tree | ccce9abb445238e4a00c9d4bfba093fb16bc8c7c /src/compiler/Utility.cc | |
parent | b3cd1229e6904365ca0ca2a7bbc4701ad1908154 (diff) |
Stop saying "typedef struct" and "typedef enum".
Seeing new instances of this C-ism go in makes me a sad panda.
Change-Id: Ie3dd414b8b5e57a4164e88eb2d8559545569628d
Diffstat (limited to 'src/compiler/Utility.cc')
-rw-r--r-- | src/compiler/Utility.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/Utility.cc b/src/compiler/Utility.cc index f86b72cde9..082f7a4c6f 100644 --- a/src/compiler/Utility.cc +++ b/src/compiler/Utility.cc @@ -20,7 +20,7 @@ namespace art { #ifdef WITH_MEMSTATS -typedef struct Memstats { +struct Memstats { u4 allocStats[kNumAllocKinds]; int listSizes[kNumListKinds]; int listWasted[kNumListKinds]; @@ -29,7 +29,7 @@ typedef struct Memstats { int bitMapSizes[kNumBitMapKinds]; int bitMapWasted[kNumBitMapKinds]; int bitMapGrows[kNumBitMapKinds]; -} memstats; +}; const char* allocNames[kNumAllocKinds] = { "Misc ", |