X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmarcdisp.c;fp=src%2Fmarcdisp.c;h=667f6715fa893700eb6e07b7535baf198e14a06b;hp=0ef545ef6590395254e469ff4fd2ca5c33325811;hb=3dfa732aa036db355ccfc199a419c0ed90772a37;hpb=7c182a7a93e1f99fad3403946776c7167dbb7e08 diff --git a/src/marcdisp.c b/src/marcdisp.c index 0ef545e..667f671 100644 --- a/src/marcdisp.c +++ b/src/marcdisp.c @@ -249,7 +249,9 @@ void yaz_marc_add_datafield(yaz_marc_t mt, const char *tag, // if not, and if the attribute name is not null, it will append a attribute element with the value // if attribute name is null it will return a non-zero value meaning it couldnt handle the value. -int element_name_append_attribute_value(yaz_marc_t mt, WRBUF buffer, const char *attribute_name, char *code_data, size_t code_len) +static int element_name_append_attribute_value( + yaz_marc_t mt, WRBUF buffer, + const char *attribute_name, char *code_data, size_t code_len) { // TODO Map special codes to something possible for XML ELEMENT names