From: Stu Grossman Date: Thu, 19 Dec 1991 01:16:03 +0000 (+0000) Subject: * command.h, defs.h, eval.h, expression.h, remote-sa.sparc.c, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e182722827847deda4de24c22a0b9c0a2f4b0441;p=binutils-gdb.git * command.h, defs.h, eval.h, expression.h, remote-sa.sparc.c, sparc-tdep.c, symtab.h, target.h, value.h, vx-share/ptrace.h, vx-share/xdr_ptrace.h, vx-share/xdr_rdb.h: ANSIfy enums. CVS: --- diff --git a/gdb/vx-share/ptrace.h b/gdb/vx-share/ptrace.h index 34801c71e06..8e3554f13a0 100644 --- a/gdb/vx-share/ptrace.h +++ b/gdb/vx-share/ptrace.h @@ -39,6 +39,6 @@ enum ptracereq { PTRACE_READTEXT, /* 18, read text segment */ PTRACE_WRITETEXT, /* 19, write text segment */ PTRACE_GETFPAREGS, /* 20, get all fpa regs */ - PTRACE_SETFPAREGS, /* 21, set all fpa regs */ + PTRACE_SETFPAREGS /* 21, set all fpa regs */ }; #endif !_PTRACE diff --git a/gdb/vx-share/xdr_ptrace.h b/gdb/vx-share/xdr_ptrace.h index 1fe7ab43d19..35007b26eb9 100644 --- a/gdb/vx-share/xdr_ptrace.h +++ b/gdb/vx-share/xdr_ptrace.h @@ -27,7 +27,7 @@ enum ptype { REGS = 1, /* regs (SETREGS) */ FPREGS = 2, /* fp_status (SETFPREGS) */ FPAREGS = 3, /* fpa_regs (SETFPAREGS) */ - DATA = 4, /* c_bytes (WRITETEXT/DATA)*/ + DATA = 4 /* c_bytes (WRITETEXT/DATA)*/ }; typedef enum ptype ptype; diff --git a/gdb/vx-share/xdr_rdb.h b/gdb/vx-share/xdr_rdb.h index eebec43dc8c..822ae2a78f1 100644 --- a/gdb/vx-share/xdr_rdb.h +++ b/gdb/vx-share/xdr_rdb.h @@ -18,7 +18,7 @@ enum arg_type { T_WORD = 2, T_INT = 3, T_FLOAT = 4, - T_DOUBLE = 5, + T_DOUBLE = 5 }; typedef enum arg_type arg_type; bool_t xdr_arg_type(); @@ -82,7 +82,7 @@ enum EVENT_TYPE { EVENT_SUSPEND = 4, EVENT_ZERO_DIV = 5, EVENT_SIGNAL = 6, - EVENT_START = 7, + EVENT_START = 7 }; typedef enum EVENT_TYPE EVENT_TYPE;