aboutsummaryrefslogtreecommitdiff
path: root/src/idop.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-04-02 00:38:18 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-04-02 00:38:18 +0300
commitf731d398434e4d85a7aa0af7c299160f49e92fc9 (patch)
treecab66782ca21ada8879df091b4ba80fb320babca /src/idop.c
parent94833cc27ffdb8804ec8916e3fc302da7282ec0f (diff)
downloadidest-f731d398434e4d85a7aa0af7c299160f49e92fc9.tar.gz
idest-f731d398434e4d85a7aa0af7c299160f49e92fc9.tar.bz2
Update for recent Gnulib.
* src/idest.h: Include gl_xlist.h. (set_frame_value): New proto. * src/idop.c (add_stringlist, add_field, frame_to_list): Static. * src/slist.c: Shut up gcc warnings. * gnulib.modules: Add xlist. * src/backup.c: Include unistd.h
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
@@ -164,3 +164,3 @@ idest_ucs4_cvt(id3_ucs4_t const *ucs4)
-void
+static void
add_stringlist(gl_list_t list, struct id3_frame *frame,
@@ -183,3 +183,3 @@ 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)
@@ -218,3 +218,3 @@ 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)
@@ -226,3 +226,3 @@ frame_to_list(struct id3_frame *frame)
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);
@@ -237,3 +237,3 @@ show_tags(struct id3_tag *tag)
- 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);

Return to:

Send suggestions and report system problems to the System administrator.