1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* make-docfile.c (write_globals): Change char * to char const *

to avoid a GCC "assignment discards qualifiers" diagnostic
in some configurations.
This commit is contained in:
Paul Eggert 2011-02-25 14:05:43 -08:00
parent 4ad8955513
commit 564ff1f20c
2 changed files with 7 additions and 1 deletions

View file

@ -617,7 +617,7 @@ write_globals (void)
qsort (globals, num_globals, sizeof (struct global), compare_globals);
for (i = 0; i < num_globals; ++i)
{
char *type;
char const *type;
switch (globals[i].type)
{