diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-08-23 20:04:31 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-23 20:04:31 +0000 |
commit | 3df58d30e1d50cde3eb9a30b9d1beb331685fc50 (patch) | |
tree | d05e0a7d8bfe18659be0a8857c23e52de371d763 | |
parent | ee609dcfbb5470b0eadfee9241a86755d35520b9 (diff) | |
download | rockbox-3df58d30e1d50cde3eb9a30b9d1beb331685fc50.tar.gz rockbox-3df58d30e1d50cde3eb9a30b9d1beb331685fc50.zip |
Removed typedef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1958 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/playlist.c | 2 | ||||
-rw-r--r-- | apps/playlist.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 7e8ea36543..76e177daeb 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include "widgets.h" | 35 | #include "widgets.h" |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | playlist_info_t playlist; | 38 | struct playlist_info playlist; |
39 | 39 | ||
40 | #define PLAYLIST_BUFFER_SIZE (AVERAGE_FILENAME_LENGTH*MAX_FILES_IN_DIR) | 40 | #define PLAYLIST_BUFFER_SIZE (AVERAGE_FILENAME_LENGTH*MAX_FILES_IN_DIR) |
41 | 41 | ||
diff --git a/apps/playlist.h b/apps/playlist.h index f44372e76d..86de8265c9 100644 --- a/apps/playlist.h +++ b/apps/playlist.h | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | /* playlist data */ | 27 | /* playlist data */ |
28 | 28 | ||
29 | typedef struct | 29 | struct playlist_info |
30 | { | 30 | { |
31 | char filename[MAX_PATH]; /* path name of m3u playlist on disk */ | 31 | char filename[MAX_PATH]; /* path name of m3u playlist on disk */ |
32 | int dirlen; /* Length of the path to the playlist file */ | 32 | int dirlen; /* Length of the path to the playlist file */ |
@@ -35,9 +35,9 @@ typedef struct | |||
35 | int seed; /* random seed */ | 35 | int seed; /* random seed */ |
36 | int amount; /* number of tracks in the index */ | 36 | int amount; /* number of tracks in the index */ |
37 | bool in_ram; /* True if the playlist is RAM-based */ | 37 | bool in_ram; /* True if the playlist is RAM-based */ |
38 | } playlist_info_t; | 38 | }; |
39 | 39 | ||
40 | extern playlist_info_t playlist; | 40 | extern struct playlist_info playlist; |
41 | extern bool playlist_shuffle; | 41 | extern bool playlist_shuffle; |
42 | 42 | ||
43 | int play_list(char *dir, char *file, int start_index, | 43 | int play_list(char *dir, char *file, int start_index, |