This function does not modify its argument. No changelog entry because this is
already covered by the existing #634 one for the upcoming release.
CGRAPH_API void *agbindrec(void *obj, char *name, unsigned int size,
int move_to_front);
-CGRAPH_API Agrec_t *aggetrec(void *obj, char *name, int move_to_front);
+CGRAPH_API Agrec_t *aggetrec(void *obj, const char *name, int move_to_front);
CGRAPH_API int agdelrec(void *obj, char *name);
CGRAPH_API void aginit(Agraph_t * g, int kind, char *rec_name, int rec_size,
int move_to_front);
}
/* find record in circular list and do optional move-to-front */
-Agrec_t *aggetrec(void *obj, char *name, int mtf)
+Agrec_t *aggetrec(void *obj, const char *name, int mtf)
{
Agobj_t *hdr;
Agrec_t *d, *first;