]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbsupport: rename include guard in gdb-checked-static-cast.h
authorAndrew Burgess <aburgess@redhat.com>
Wed, 6 Mar 2024 17:48:55 +0000 (17:48 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 19 Mar 2024 14:41:51 +0000 (14:41 +0000)
I noticed in passing that the include guard in the file
gdbsupport/gdb-checked-static-cast.h was wrong, it includes the word
DYNAMIC when STATIC would be better, fixed in this commit.

There should be no user visible changes after this commit.

gdbsupport/gdb-checked-static-cast.h

index 24fa7a4ba04e66c9598d538f83cf5642691daa60..97843fab2259d044c62af9f698675376413896f5 100644 (file)
@@ -15,8 +15,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 COMMON_GDB_CHECKED_DYNAMIC_CAST_H
-#define COMMON_GDB_CHECKED_DYNAMIC_CAST_H
+#ifndef COMMON_GDB_CHECKED_STATIC_CAST_H
+#define COMMON_GDB_CHECKED_STATIC_CAST_H
 
 #include "gdbsupport/traits.h"
 
@@ -80,4 +80,4 @@ checked_static_cast (V &v)
 
 }
 
-#endif /* COMMON_GDB_CHECKED_DYNAMIC_CAST_H */
+#endif /* COMMON_GDB_CHECKED_STATIC_CAST_H */