From: Adam Dickmeiss Date: Thu, 31 Mar 2011 12:21:44 +0000 (+0200) Subject: Make element_name_append_attribute_value static X-Git-Tag: v4.2.0~53 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=3dfa732aa036db355ccfc199a419c0ed90772a37;p=yaz-moved-to-github.git Make element_name_append_attribute_value static This, strictly speaking, changes binary compatibility but since this function was never declared in a public header we can get by .. --- 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