diff options
author | Tom Tromey <tromey@adacore.com> | 2022-04-27 14:32:49 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-04-28 09:31:15 -0600 |
commit | 0d1703b8fb611f978577a70ad6aa308a12a53980 (patch) | |
tree | 1575fb753e121f86566507be66b72cd85efc013e /gdb/jit.h | |
parent | c42dd30d73ec441ed9cab207597c7f5ce88ee231 (diff) | |
download | fsf-binutils-gdb-0d1703b8fb611f978577a70ad6aa308a12a53980.zip fsf-binutils-gdb-0d1703b8fb611f978577a70ad6aa308a12a53980.tar.gz fsf-binutils-gdb-0d1703b8fb611f978577a70ad6aa308a12a53980.tar.bz2 |
Remove "typedef enum ..."
I noticed a few spots in GDB that use "typedef enum". However, in C++
this isn't as useful, as the tag is automatically entered as a
typedef. This patch removes most uses of "typedef enum" -- the
exceptions being in some nat-* code I can't compile, and
glibc_thread_db.h, which I think is more or less a copy of some C code
from elsewhere.
Tested by rebuilding.
Diffstat (limited to 'gdb/jit.h')
-rw-r--r-- | gdb/jit.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,12 +28,12 @@ struct minimal_symbol; these actions. These values are used by the inferior, so the values of these enums cannot be changed. */ -typedef enum +enum jit_actions_t { JIT_NOACTION = 0, JIT_REGISTER, JIT_UNREGISTER -} jit_actions_t; +}; /* This struct describes a single symbol file in a linked list of symbol files describing generated code. As the inferior generates |