I noticed a spot in gdbreplay where "const" could be used.
2021-02-12 Tom Tromey <tromey@adacore.com>
* gdbreplay.cc (remote_open): Constify.
+2021-02-12 Tom Tromey <tromey@adacore.com>
+
+ * gdbreplay.cc (remote_open): Constify.
+
2021-02-05 Paul E. Murphy <murphyp@linux.ibm.com>
* Makefile.in (UNDO_GNULIB_CFLAGS): Disable
NAME is the filename used for communication. */
static void
-remote_open (char *name)
+remote_open (const char *name)
{
- char *last_colon = strrchr (name, ':');
+ const char *last_colon = strrchr (name, ':');
if (last_colon == NULL)
{