diff options
author | Tom Tromey <tom@tromey.com> | 2025-03-09 11:05:40 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-03-10 09:18:40 -0600 |
commit | 0e7e4162469ff8e0139f599e3f37420d8e160390 (patch) | |
tree | f6ac3116baa0d2dbf4d202ea3d888e21c48a661c /gdb/python | |
parent | 72088cbe294598b957a43d923cf070ecf49afe52 (diff) | |
download | binutils-0e7e4162469ff8e0139f599e3f37420d8e160390.zip binutils-0e7e4162469ff8e0139f599e3f37420d8e160390.tar.gz binutils-0e7e4162469ff8e0139f599e3f37420d8e160390.tar.bz2 |
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 <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-color.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>. */ -#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 */ |