diff options
author | Pierre Muller <muller@sourceware.org> | 2011-03-14 15:43:51 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-03-14 15:43:51 +0000 |
commit | eeae04df5210d8d569775a1088c084c1a9509545 (patch) | |
tree | 19eab4b77c8ccb787fe7a793e28e38e94700da68 /gdb/python | |
parent | fd7a005d9d5ed10fbc5094a1e19684141bf9d569 (diff) | |
download | gdb-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/python')
-rw-r--r-- | gdb/python/py-evts.c | 2 | ||||
-rw-r--r-- | gdb/python/py-prettyprint.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-evts.c b/gdb/python/py-evts.c index 446b934..50c05f3 100644 --- a/gdb/python/py-evts.c +++ b/gdb/python/py-evts.c @@ -42,7 +42,7 @@ add_new_registry (eventregistry_object **registryp, char *name) } void -gdbpy_initialize_py_events () +gdbpy_initialize_py_events (void) { gdb_py_events.module = Py_InitModule ("events", NULL); diff --git a/gdb/python/py-prettyprint.c b/gdb/python/py-prettyprint.c index 89c832a..3325795 100644 --- a/gdb/python/py-prettyprint.c +++ b/gdb/python/py-prettyprint.c @@ -394,7 +394,7 @@ py_restore_tstate (void *p) /* Create a dummy PyFrameObject, needed to work around a Python-2.4 bug with generators. */ static PyObject * -push_dummy_python_frame () +push_dummy_python_frame (void) { PyObject *empty_string, *null_tuple, *globals; PyCodeObject *code; |