From: Alexander Gramiak Date: Mon, 8 Apr 2019 01:17:48 +0000 (-0600) Subject: ; * src/frame.h (MonitorInfo): Remove const modifier X-Git-Tag: emacs-27.0.90~3261^2~74 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b8117ed1abfc17bb0bc1690a8997736f1e8f98c;p=emacs.git ; * src/frame.h (MonitorInfo): Remove const modifier This removes a compiler warning with xfree. --- diff --git a/src/frame.h b/src/frame.h index b1eedf36a38..ed62e7ace0f 100644 --- a/src/frame.h +++ b/src/frame.h @@ -1648,7 +1648,7 @@ flush_frame (struct frame *f) struct MonitorInfo { XRectangle geom, work; int mm_width, mm_height; - const char *name; + char *name; }; extern void free_monitors (struct MonitorInfo *monitors, int n_monitors);