patch-main_c 633 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-main_c,v 1.2 2003/08/04 13:31:28 wilfried Exp $
  2. --- main.c.orig 2000-04-03 02:11:46.000000000 +0200
  3. +++ main.c 2003-08-04 15:05:48.000000000 +0200
  4. @@ -125,7 +125,7 @@ void loadconfig()
  5. errno = 0;
  6. /* set defualts in case anything fails */
  7. - set_mpg123("/usr/local/bin/mpg123");
  8. + set_mpg123("/usr/local/bin/madplay");
  9. set_mp3ext(".mp3");
  10. set_playlistext(".m3u");
  11. @@ -230,7 +230,7 @@ int check_options(int argc, char *argv[]
  12. return option_entered;
  13. }
  14. -void main(int argc, char *argv[])
  15. +int main(int argc, char *argv[])
  16. {
  17. struct coord pos[] = {
  18. {35, 34, 12, 11}, /* stop */