changeset 240:cce347409480

Fix two more gcc warnings related to function declarations.
author zas_
date Thu, 03 Apr 2008 21:04:19 +0000
parents cccba3e30a44
children cdec56e38dd1
files src/filelist.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/filelist.c	Thu Apr 03 20:53:13 2008 +0000
+++ b/src/filelist.c	Thu Apr 03 21:04:19 2008 +0000
@@ -31,6 +31,8 @@
 
 static GList *file_class_extension_list[FILE_FORMAT_CLASSES];
 
+static gint sidecar_file_priority(const gchar *path);
+
 
 gint ishidden(const gchar *name)
 {
@@ -988,7 +990,7 @@
 	return strncmp(fd1->name, fd2->name, len1);
 }
 
-FileData *file_data_do_change(FileData *fd)
+void file_data_do_change(FileData *fd)
 {
 //FIXME sidecars
 	g_assert(fd->change);
@@ -1052,7 +1054,7 @@
 
 
 
-gint sidecar_file_priority(const gchar *path)
+static gint sidecar_file_priority(const gchar *path)
 {
 	const char *extension = extension_from_path(path);
 	int i = 1;