aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-notif.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-10-18 20:44:11 -0600
committerTom Tromey <tom@tromey.com>2023-11-29 14:29:44 -0700
commit69f6730df3d18216126283864246eaf538bdf91d (patch)
treee17002e214e8d6d2ea423575e29b56f90005b778 /gdb/remote-notif.c
parentd02f31bb130fd54fa2891cbc28fbc01f603eca6c (diff)
downloadfsf-binutils-gdb-69f6730df3d18216126283864246eaf538bdf91d.zip
fsf-binutils-gdb-69f6730df3d18216126283864246eaf538bdf91d.tar.gz
fsf-binutils-gdb-69f6730df3d18216126283864246eaf538bdf91d.tar.bz2
Remove gdb_static_assert
C++17 makes the second parameter to static_assert optional, so we can remove gdb_static_assert now.
Diffstat (limited to 'gdb/remote-notif.c')
-rw-r--r--gdb/remote-notif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-notif.c b/gdb/remote-notif.c
index dfa1d33..997b6e7 100644
--- a/gdb/remote-notif.c
+++ b/gdb/remote-notif.c
@@ -51,7 +51,7 @@ static const notif_client *const notifs[] =
&notif_client_stop,
};
-gdb_static_assert (ARRAY_SIZE (notifs) == REMOTE_NOTIF_LAST);
+static_assert (ARRAY_SIZE (notifs) == REMOTE_NOTIF_LAST);
/* Parse the BUF for the expected notification NC, and send packet to
acknowledge. */