From b056a39914ed08da28f18f9b6eecf44447e069de Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 2 Nov 2025 10:41:21 -0700 Subject: Don't use "module" name In C++20, "module" is an "identifier with special meaning". While it can be used as a variable name, it highlights as a keyword in Emacs, and I think it's nicer to just avoid it. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32660 --- gdb/python/python-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/python-internal.h') diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index 502f66c5682..9a43cfae00a 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -991,7 +991,7 @@ int gdb_py_int_as_long (PyObject *, long *); PyObject *gdb_py_generic_dict (PyObject *self, void *closure); -int gdb_pymodule_addobject (PyObject *module, const char *name, +int gdb_pymodule_addobject (PyObject *mod, const char *name, PyObject *object); -- cgit v1.2.3