• Max Kellermann's avatar
    fix -Wcast-qual -Wwrite-strings warnings · 4dd9d4b2
    Max Kellermann authored
    The previous patch enabled these warnings.  In Eric's branch, they
    were worked around with a generic deconst_ptr() function.  There are
    several places where we can add "const" to pointers, and in others,
    libraries want non-const strings.  In the latter, convert string
    literals to "static char[]" variables - this takes the same space, and
    seems safer than deconsting a string literal.
    4dd9d4b2
list.c 10.4 KB