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:
parent
4ad8955513
commit
564ff1f20c
2 changed files with 7 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue