forked from Imagelibrary/binutils-gdb
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user