diff src/filefilter.c @ 609:b690cecbf5b8

Use function(void) instead of function() for declaring functions which do not take any parameters at all. It respects current Geeqie coding style more.
author zas_
date Fri, 09 May 2008 07:32:30 +0000
parents 651ae2be1031
children 8268cbe682f1
line wrap: on
line diff
--- a/src/filefilter.c	Thu May 08 22:59:14 2008 +0000
+++ b/src/filefilter.c	Fri May 09 07:32:30 2008 +0000
@@ -470,7 +470,7 @@
 	secure_fprintf(ssi, "sidecar.ext: \"%s\"\n", sidecar_ext_to_string());
 }
 
-char *sidecar_ext_to_string()
+gchar *sidecar_ext_to_string(void)
 {
 	GList *work;
 	GString *str = g_string_new("");
@@ -486,7 +486,7 @@
 	return g_string_free(str, FALSE);
 }
 
-void sidecar_ext_add_defaults()
+void sidecar_ext_add_defaults(void)
 {
 	sidecar_ext_parse(".jpg;.cr2;.nef;.crw;.xmp", FALSE);
 }