From 3dfa732aa036db355ccfc199a419c0ed90772a37 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 31 Mar 2011 14:21:44 +0200 Subject: [PATCH 1/1] 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 .. --- src/marcdisp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.10.4