changeset 2895:92fc55b8da15

Use Glib types.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 13 Aug 2008 01:59:25 +0300
parents 630c9662e0f1
children 35773e919dba 8eaff6228606
files src/streambrowser/xiph.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/streambrowser/xiph.c	Wed Aug 13 01:57:40 2008 +0300
+++ b/src/streambrowser/xiph.c	Wed Aug 13 01:59:25 2008 +0300
@@ -66,13 +66,13 @@
 };
 
 
-static void refresh_streamdir();
+static void refresh_streamdir(void);
 	/* returns true if any of the words in string1 is present in string2 */
 static gboolean genre_match(gchar *string1, gchar *string2);
 
 gboolean xiph_streaminfo_fetch(category_t *category, streaminfo_t *streaminfo)
 {
-	int entryno;
+	gint entryno;
 	
 	refresh_streamdir();
 	
@@ -94,8 +94,8 @@
 {
 	refresh_streamdir();
 
-	int entryno, categoryno;
-	int xiph_category_count = sizeof(xiph_categories) / sizeof(xiph_category_t);
+	gint entryno, categoryno;
+	gint xiph_category_count = sizeof(xiph_categories) / sizeof(xiph_category_t);
 	xiph_category_t *xiph_category = NULL;
 	
 	for (categoryno = 0; categoryno < xiph_category_count; categoryno++)
@@ -145,10 +145,10 @@
 }
 
 
-streamdir_t* xiph_streamdir_fetch()
+streamdir_t* xiph_streamdir_fetch(void)
 {
 	streamdir_t *streamdir = streamdir_new(XIPH_NAME);
-	int categno;
+	gint categno;
 	
 	refresh_streamdir();
 	
@@ -160,7 +160,7 @@
 	return streamdir;
 }
 
-static void refresh_streamdir()
+static void refresh_streamdir(void)
 {
 	/* free any previously fetched streamdir data */
 	if (xiph_entries != NULL) {