summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-08-23 20:04:31 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-08-23 20:04:31 +0000
commit3df58d30e1d50cde3eb9a30b9d1beb331685fc50 (patch)
treed05e0a7d8bfe18659be0a8857c23e52de371d763
parentee609dcfbb5470b0eadfee9241a86755d35520b9 (diff)
downloadrockbox-3df58d30e1d50cde3eb9a30b9d1beb331685fc50.zip
rockbox-3df58d30e1d50cde3eb9a30b9d1beb331685fc50.tar.gz
rockbox-3df58d30e1d50cde3eb9a30b9d1beb331685fc50.tar.bz2
rockbox-3df58d30e1d50cde3eb9a30b9d1beb331685fc50.tar.xz
Removed typedef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1958 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playlist.c2
-rw-r--r--apps/playlist.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 7e8ea36..76e177d 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -35,7 +35,7 @@
#include "widgets.h"
#endif
-playlist_info_t playlist;
+struct playlist_info playlist;
#define PLAYLIST_BUFFER_SIZE (AVERAGE_FILENAME_LENGTH*MAX_FILES_IN_DIR)
diff --git a/apps/playlist.h b/apps/playlist.h
index f44372e..86de826 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -26,7 +26,7 @@
/* playlist data */
-typedef struct
+struct playlist_info
{
char filename[MAX_PATH]; /* path name of m3u playlist on disk */
int dirlen; /* Length of the path to the playlist file */
@@ -35,9 +35,9 @@ typedef struct
int seed; /* random seed */
int amount; /* number of tracks in the index */
bool in_ram; /* True if the playlist is RAM-based */
-} playlist_info_t;
+};
-extern playlist_info_t playlist;
+extern struct playlist_info playlist;
extern bool playlist_shuffle;
int play_list(char *dir, char *file, int start_index,