1
0
Fork 0
forked from len0rd/rockbox

Removed typedef

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1958 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-08-23 20:04:31 +00:00
parent ee609dcfbb
commit 3df58d30e1
2 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@
#include "widgets.h" #include "widgets.h"
#endif #endif
playlist_info_t playlist; struct playlist_info playlist;
#define PLAYLIST_BUFFER_SIZE (AVERAGE_FILENAME_LENGTH*MAX_FILES_IN_DIR) #define PLAYLIST_BUFFER_SIZE (AVERAGE_FILENAME_LENGTH*MAX_FILES_IN_DIR)

View file

@ -26,7 +26,7 @@
/* playlist data */ /* playlist data */
typedef struct struct playlist_info
{ {
char filename[MAX_PATH]; /* path name of m3u playlist on disk */ char filename[MAX_PATH]; /* path name of m3u playlist on disk */
int dirlen; /* Length of the path to the playlist file */ int dirlen; /* Length of the path to the playlist file */
@ -35,9 +35,9 @@ typedef struct
int seed; /* random seed */ int seed; /* random seed */
int amount; /* number of tracks in the index */ int amount; /* number of tracks in the index */
bool in_ram; /* True if the playlist is RAM-based */ 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; extern bool playlist_shuffle;
int play_list(char *dir, char *file, int start_index, int play_list(char *dir, char *file, int start_index,