changeset 4390:694ce1a806f8

int -> gint for uniformity.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Mar 2008 23:17:59 +0200
parents db1c0a24e100
children a9c8efbfd4c2
files src/audacious/vfs.h src/audacious/vfs_common.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/vfs.h	Sat Mar 29 11:41:55 2008 +0200
+++ b/src/audacious/vfs.h	Sat Mar 29 23:17:59 2008 +0200
@@ -125,7 +125,7 @@
 
 extern gchar *vfs_get_metadata(VFSFile * file, const gchar * field);
 
-extern int vfs_fprintf(VFSFile *stream, gchar const *format, ...)
+extern gint vfs_fprintf(VFSFile *stream, gchar const *format, ...)
     __attribute__ ((__format__ (__printf__, 2, 3)));
 
 extern gboolean vfs_register_transport(VFSConstructor *vtable);
--- a/src/audacious/vfs_common.c	Sat Mar 29 11:41:55 2008 +0200
+++ b/src/audacious/vfs_common.c	Sat Mar 29 23:17:59 2008 +0200
@@ -83,7 +83,7 @@
  *
  * Return value: The amount of bytes written.
  **/
-int vfs_fputs(const gchar *s, VFSFile *stream)
+gint vfs_fputs(const gchar *s, VFSFile *stream)
 {
 	size_t n = strlen(s);
 
@@ -100,7 +100,7 @@
  *
  * Return value: The amount of bytes written.
  **/
-int vfs_vfprintf(VFSFile *stream, gchar const *format, va_list args)
+gint vfs_vfprintf(VFSFile *stream, gchar const *format, va_list args)
 {
     gchar *string;
     gint rv = g_vasprintf(&string, format, args);
@@ -120,7 +120,7 @@
  *
  * Return value: The amount of bytes written.
  **/
-int vfs_fprintf(VFSFile *stream, gchar const *format, ...)
+gint vfs_fprintf(VFSFile *stream, gchar const *format, ...)
 {
     va_list arg;
     gint rv;