X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fvalue-labels.c;fp=src%2Fvalue-labels.c;h=e061e452e5fbb000a79b535b8375ab002f79152a;hb=e91248ddc41199bda0676817debf080c2b7835a1;hp=39c1005e90f08e48ab5c4cefaffcb774c6bd83ef;hpb=63b39c9b76b2db4c9ac79050f256af8207802b7f;p=pspp-builds.git diff --git a/src/value-labels.c b/src/value-labels.c index 39c1005e..e061e452 100644 --- a/src/value-labels.c +++ b/src/value-labels.c @@ -32,7 +32,7 @@ static hsh_free_func free_int_val_lab; struct atom; static struct atom *atom_create (const char *string); static void atom_destroy (struct atom *); -static const char *atom_to_string (const struct atom *); +static char *atom_to_string (const struct atom *); /* A set of value labels. */ struct val_labs @@ -232,7 +232,7 @@ val_labs_remove (struct val_labs *vls, union value value) returns the label; otherwise, returns a null pointer. If VLS's width is greater than MAX_SHORT_STRING, always returns a null pointer. */ -const char * +char * val_labs_find (const struct val_labs *vls, union value value) { assert (vls != NULL); @@ -452,7 +452,7 @@ atom_destroy (struct atom *atom) } /* Returns the string associated with ATOM. */ -static const char * +static char * atom_to_string (const struct atom *atom) { assert (atom != NULL);