diff options
author | Elliott Hughes <enh@google.com> | 2012-03-09 18:06:03 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-03-09 18:06:03 -0800 |
commit | 719ace4734f519c67fd2c1ff7a232c079309a615 (patch) | |
tree | ccce9abb445238e4a00c9d4bfba093fb16bc8c7c /jdwpspy/Common.h | |
parent | b3cd1229e6904365ca0ca2a7bbc4701ad1908154 (diff) | |
download | art-719ace4734f519c67fd2c1ff7a232c079309a615.zip art-719ace4734f519c67fd2c1ff7a232c079309a615.tar.gz art-719ace4734f519c67fd2c1ff7a232c079309a615.tar.bz2 |
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 'jdwpspy/Common.h')
-rw-r--r-- | jdwpspy/Common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jdwpspy/Common.h b/jdwpspy/Common.h index f942dee..0bd3056 100644 --- a/jdwpspy/Common.h +++ b/jdwpspy/Common.h @@ -93,7 +93,7 @@ int run(const char* connectHost, int connectPort, int listenPort); * "mem" mode shows the actual memory address, and will offset the start * so that the low nibble of the address is always zero. */ -typedef enum { kHexDumpLocal, kHexDumpMem } HexDumpMode; +enum HexDumpMode { kHexDumpLocal, kHexDumpMem }; void printHexDump(const void* vaddr, size_t length); void printHexDump2(const void* vaddr, size_t length, const char* prefix); void printHexDumpEx(FILE* fp, const void* vaddr, size_t length, |