Mercurial > audlegacy-plugins
changeset 1957:0d2f57214b0c
Use C99 initializer.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 02 Oct 2007 03:53:19 +0300 |
parents | 05bfc86250f3 |
children | 2db72dd92ee3 |
files | src/stdio/stdio.c |
diffstat | 1 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/stdio/stdio.c Tue Oct 02 03:41:53 2007 +0300 +++ b/src/stdio/stdio.c Tue Oct 02 03:53:19 2007 +0300 @@ -16,7 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <audacious/vfs.h> +#include "config.h" #include <audacious/plugin.h> #include <audacious/strings.h> #include <stdio.h> @@ -250,19 +250,19 @@ } VFSConstructor file_const = { - "file://", - stdio_vfs_fopen_impl, - stdio_vfs_fclose_impl, - stdio_vfs_fread_impl, - stdio_vfs_fwrite_impl, - stdio_vfs_getc_impl, - stdio_vfs_ungetc_impl, - stdio_vfs_fseek_impl, - stdio_vfs_rewind_impl, - stdio_vfs_ftell_impl, - stdio_vfs_feof_impl, - stdio_vfs_truncate_impl, - stdio_vfs_fsize_impl + .uri_id = "file://", + .vfs_fopen_impl = stdio_vfs_fopen_impl, + .vfs_fclose_impl = stdio_vfs_fclose_impl, + .vfs_fread_impl = stdio_vfs_fread_impl, + .vfs_fwrite_impl = stdio_vfs_fwrite_impl, + .vfs_getc_impl = stdio_vfs_getc_impl, + .vfs_ungetc_impl = stdio_vfs_ungetc_impl, + .vfs_fseek_impl = stdio_vfs_fseek_impl, + .vfs_rewind_impl = stdio_vfs_rewind_impl, + .vfs_ftell_impl = stdio_vfs_ftell_impl, + .vfs_feof_impl = stdio_vfs_feof_impl, + .vfs_truncate_impl = stdio_vfs_truncate_impl, + .vfs_fsize_impl = stdio_vfs_fsize_impl }; static void init(void)