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>
This commit is contained in:
Tom Tromey
2025-03-09 11:05:40 -06:00
parent 72088cbe29
commit 0e7e416246
9 changed files with 37 additions and 30 deletions

View File

@@ -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 SCOPED_SIGNAL_HANDLER_H
#define SCOPED_SIGNAL_HANDLER_H
#ifndef GDBSUPPORT_SCOPED_SIGNAL_HANDLER_H
#define GDBSUPPORT_SCOPED_SIGNAL_HANDLER_H
#include <signal.h>
@@ -70,4 +70,4 @@ private:
#endif
};
#endif /* SCOPED_SIGNAL_HANDLER_H */
#endif /* GDBSUPPORT_SCOPED_SIGNAL_HANDLER_H */