aboutsummaryrefslogtreecommitdiff
path: root/gdb/mep-tdep.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-03-14 15:43:51 +0000
committerPierre Muller <muller@sourceware.org>2011-03-14 15:43:51 +0000
commiteeae04df5210d8d569775a1088c084c1a9509545 (patch)
tree19eab4b77c8ccb787fe7a793e28e38e94700da68 /gdb/mep-tdep.c
parentfd7a005d9d5ed10fbc5094a1e19684141bf9d569 (diff)
downloadgdb-eeae04df5210d8d569775a1088c084c1a9509545.zip
gdb-eeae04df5210d8d569775a1088c084c1a9509545.tar.gz
gdb-eeae04df5210d8d569775a1088c084c1a9509545.tar.bz2
Fix ARI warning about functions without parameters that do not
use (void). * breakpoint.c (all_tracepoints): Replace () by (void). * f-exp.y (match_string_literal): Ditto. (yylex): Ditto. * m2-exp.y (yylex): Ditto. * mep-tdep.c (current_me_module): Ditto. (current_options): Ditto. (current_cop_data_bus_width): Ditto. (current_cr_names): Ditto. (current_cr_is_float): Ditto. (current_ccr_names): Ditto. * objc-exp.y (yylex): Ditto. * p-exp.y (yylex): Ditto. * remote.c (send_interrupt_sequence): Ditto. * tracepoint.c (current_trace_status): Ditto. * python/py-evts.c (gdbpy_initialize_py_events): Ditto. * python/py-prettyprint.c (push_dummy_python_frame): Ditto.
Diffstat (limited to 'gdb/mep-tdep.c')
-rw-r--r--gdb/mep-tdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c
index cd86442..b8759bc 100644
--- a/gdb/mep-tdep.c
+++ b/gdb/mep-tdep.c
@@ -845,7 +845,7 @@ mep_pseudo_cr_index (int pseudo)
from the ELF header's e_flags field of the current executable
file. */
static CONFIG_ATTR
-current_me_module ()
+current_me_module (void)
{
if (target_has_registers)
{
@@ -868,7 +868,7 @@ current_me_module ()
then use the 'module_opt' field we computed when we build the
gdbarch object for this module. */
static unsigned int
-current_options ()
+current_options (void)
{
if (target_has_registers)
{
@@ -885,7 +885,7 @@ current_options ()
/* Return the width of the current me_module's coprocessor data bus,
in bits. This is either 32 or 64. */
static int
-current_cop_data_bus_width ()
+current_cop_data_bus_width (void)
{
return me_module_cop_data_bus_width (current_me_module ());
}
@@ -894,7 +894,7 @@ current_cop_data_bus_width ()
/* Return the keyword table of coprocessor general-purpose register
names appropriate for the me_module we're dealing with. */
static CGEN_KEYWORD *
-current_cr_names ()
+current_cr_names (void)
{
const CGEN_HW_ENTRY *hw
= me_module_register_set (current_me_module (), "h-cr-", HW_H_CR);
@@ -906,7 +906,7 @@ current_cr_names ()
/* Return non-zero if the coprocessor general-purpose registers are
floating-point values, zero otherwise. */
static int
-current_cr_is_float ()
+current_cr_is_float (void)
{
const CGEN_HW_ENTRY *hw
= me_module_register_set (current_me_module (), "h-cr-", HW_H_CR);
@@ -918,7 +918,7 @@ current_cr_is_float ()
/* Return the keyword table of coprocessor control register names
appropriate for the me_module we're dealing with. */
static CGEN_KEYWORD *
-current_ccr_names ()
+current_ccr_names (void)
{
const CGEN_HW_ENTRY *hw
= me_module_register_set (current_me_module (), "h-ccr-", HW_H_CCR);