From 0e7e4162469ff8e0139f599e3f37420d8e160390 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 9 Mar 2025 11:05:40 -0600 Subject: Fix check-include-guards.py I noticed that check-include-guards.py doesn't error in certain situations -- but in situations where the --update flag would cause a file to be changed. This patch changes the script to issue an error for any discrepancy. It also fixes the headers that weren't correct. Approved-By: Simon Marchi --- gdb/python/py-color.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/python') diff --git a/gdb/python/py-color.h b/gdb/python/py-color.h index a778d5b..a3e5e41 100644 --- a/gdb/python/py-color.h +++ b/gdb/python/py-color.h @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef PYTHON_PY_COLOR_H -#define PYTHON_PY_COLOR_H +#ifndef GDB_PYTHON_PY_COLOR_H +#define GDB_PYTHON_PY_COLOR_H #include "python-internal.h" #include "ui-style.h" @@ -32,4 +32,4 @@ extern bool gdbpy_is_color (PyObject *obj); /* Extracts value from OBJ object of gdb.Color type. */ extern const ui_file_style::color &gdbpy_get_color (PyObject *obj); -#endif /* PYTHON_PY_COLOR_H */ +#endif /* GDB_PYTHON_PY_COLOR_H */ -- cgit v1.1