Mercurial > hg > xmms-sid
diff src/xs_support.c @ 751:55eea3fa8868
Rename some structures.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Nov 2012 18:42:57 +0200 |
parents | d9d769b5dbe2 |
children | 61a527ac3baa |
line wrap: on
line diff
--- a/src/xs_support.c Mon Nov 05 17:53:22 2012 +0200 +++ b/src/xs_support.c Mon Nov 05 18:42:57 2012 +0200 @@ -24,13 +24,13 @@ #include <ctype.h> -guint16 xs_fread_be16(xs_file_t *f) +guint16 xs_fread_be16(XSFile *f) { return (((guint16) xs_fgetc(f)) << 8) | ((guint16) xs_fgetc(f)); } -guint32 xs_fread_be32(xs_file_t *f) +guint32 xs_fread_be32(XSFile *f) { return (((guint32) xs_fgetc(f)) << 24) | (((guint32) xs_fgetc(f)) << 16) | @@ -43,7 +43,7 @@ */ gint xs_fload_buffer(const gchar *filename, guint8 **buf, size_t *bufSize) { - xs_file_t *f; + XSFile *f; glong seekPos; /* Open file, get file size */