/* Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: */
static void next()
/* Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: */
static void next()
{
  current_song_index++;
  if (current_song_index >= songlist.size) {
  	current_song_index = 0;
  }
  iprintf("selected file: %.12s\n", songlist.list[current_song_index].filename);
}