aboutsummaryrefslogtreecommitdiff
path: root/src/idop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idop.c')
-rw-r--r--src/idop.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/idop.c b/src/idop.c
index 17e2bc4..1f95454 100644
--- a/src/idop.c
+++ b/src/idop.c
@@ -162,7 +162,7 @@ idest_ucs4_cvt(id3_ucs4_t const *ucs4)
return (char*)id3_ucs4_utf8duplicate(ucs4);
}
-void
+static void
add_stringlist(gl_list_t list, struct id3_frame *frame,
union id3_field *field)
{
@@ -181,7 +181,7 @@ add_stringlist(gl_list_t list, struct id3_frame *frame,
}
}
-void
+static void
add_field(gl_list_t list, struct id3_frame *frame, union id3_field *field)
{
id3_ucs4_t const *ucs4;
@@ -216,7 +216,7 @@ add_field(gl_list_t list, struct id3_frame *frame, union id3_field *field)
}
}
-gl_list_t
+static gl_list_t
frame_to_list(struct id3_frame *frame)
{
gl_list_t list;
@@ -224,7 +224,7 @@ frame_to_list(struct id3_frame *frame)
union id3_field *field;
list = new_string_list(true);
- for (i = 0; field = id3_frame_field(frame, i); i++)
+ for (i = 0; (field = id3_frame_field(frame, i)); i++)
add_field(list, frame, field);
return list;
}
@@ -235,7 +235,7 @@ show_tags(struct id3_tag *tag)
struct id3_frame *frame;
unsigned i;
- for (i = 0; frame = id3_tag_findframe(tag, NULL, i); i++) {
+ for (i = 0; (frame = id3_tag_findframe(tag, NULL, i)); i++) {
gl_list_t list = frame_to_list(frame);
if (gl_list_size(list) > 0)
ed_list_add_item(frame->id, list);

Return to:

Send suggestions and report system problems to the System administrator.