# HG changeset patch # User Matti Hamalainen # Date 1218581965 -10800 # Node ID 92fc55b8da157b98e345112079fb17fb2f92db8d # Parent 630c9662e0f16c5355acfc054a7cbf15efa56ec4 Use Glib types. diff -r 630c9662e0f1 -r 92fc55b8da15 src/streambrowser/xiph.c --- 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) {