# HG changeset patch # User nenolod # Date 1142276838 28800 # Node ID 4d60baab67a0970ae1433ca7d0166813adbf79ec # Parent 8a98756c57b88cf8a5c3a12f2a855b1a7503f0a9 [svn] - use extern here (grr) diff -r 8a98756c57b8 -r 4d60baab67a0 libaudacious/vfs.h --- a/libaudacious/vfs.h Sun Mar 12 20:57:18 2006 -0800 +++ b/libaudacious/vfs.h Mon Mar 13 11:07:18 2006 -0800 @@ -9,34 +9,34 @@ G_BEGIN_DECLS /* Reserved for private use by BMP */ -gboolean vfs_init(void); +extern gboolean vfs_init(void); -VFSFile * vfs_fopen(const gchar * path, +extern VFSFile * vfs_fopen(const gchar * path, const gchar * mode); -gint vfs_fclose(VFSFile * file); +extern gint vfs_fclose(VFSFile * file); -size_t vfs_fread(gpointer ptr, +extern size_t vfs_fread(gpointer ptr, size_t size, size_t nmemb, VFSFile * file); -size_t vfs_fwrite(gconstpointer ptr, +extern size_t vfs_fwrite(gconstpointer ptr, size_t size, size_t nmemb, VFSFile *file); -gint vfs_fseek(VFSFile * file, +extern gint vfs_fseek(VFSFile * file, glong offset, gint whence); -void vfs_rewind(VFSFile * file); -glong vfs_ftell(VFSFile * file); -gboolean vfs_feof(VFSFile * file); +extern void vfs_rewind(VFSFile * file); +extern glong vfs_ftell(VFSFile * file); +extern gboolean vfs_feof(VFSFile * file); -gboolean vfs_file_test(const gchar * path, +extern gboolean vfs_file_test(const gchar * path, GFileTest test); -gboolean vfs_is_writeable(const gchar * path); +extern gboolean vfs_is_writeable(const gchar * path); -gboolean vfs_truncate(VFSFile * file, glong length); +extern gboolean vfs_truncate(VFSFile * file, glong length); G_END_DECLS