mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB

  1. --- wavemon-0.4.0b/conf.c.orig 2004-05-11 14:00:22.433704840 +0200
  2. +++ wavemon-0.4.0b/conf.c 2004-05-11 14:01:33.102961480 +0200
  3. @@ -411,6 +411,7 @@
  4. break;
  5. case t_sep: /* gcc -Wall sucks */
  6. case t_func:
  7. + ; /* and dummy coders, too */
  8. }
  9. }
  10. }
  11. @@ -482,6 +483,7 @@
  12. case t_listval: sprintf(rv, "%s", (char *)ci->v);
  13. case t_sep: break;
  14. case t_func:
  15. + ;
  16. }
  17. add = 1;
  18. --- wavemon-0.4.0b/conf_scr.c.orig 2004-05-11 14:01:54.314736800 +0200
  19. +++ wavemon-0.4.0b/conf_scr.c 2004-05-11 14:02:28.469544480 +0200
  20. @@ -64,6 +64,7 @@
  21. break;
  22. case t_sep: /* gcc -Wall sucks */
  23. case t_func:
  24. + ; /* and dummy coders, too */
  25. }
  26. if (!item->unit) {
  27. @@ -137,6 +138,7 @@
  28. break;
  29. case t_sep: /* gcc -Wall sucks */
  30. case t_func:
  31. + ; /* and dummy coders, too */
  32. }
  33. }
  34. --- wavemon-0.4.0b/wavemon.c.orig 2004-05-11 14:02:49.263383336 +0200
  35. +++ wavemon-0.4.0b/wavemon.c 2004-05-11 14:03:31.590948568 +0200
  36. @@ -170,7 +170,7 @@
  37. if (conf.dump == 1) {
  38. dump_parameters(&conf);
  39. - exit();
  40. + exit(0);
  41. }
  42. /* initialize the ncurses interface */