wmfire-1.2.4-inline_c99.patch 653 B

12345678910111213141516171819202122
  1. diff -Naur wmfire-1.2.4.orig/src/wmfire.c wmfire-1.2.4/src/wmfire.c
  2. --- wmfire-1.2.4.orig/src/wmfire.c 2005-12-04 11:39:16.000000000 +0100
  3. +++ wmfire-1.2.4/src/wmfire.c 2019-07-30 22:43:03.306268675 +0200
  4. @@ -108,7 +108,7 @@
  5. void change_flame(int);
  6. GdkCursor *setup_cursor();
  7. void burn_spot(int, int, int);
  8. -inline void draw_fire(unsigned int);
  9. +void draw_fire(unsigned int);
  10. static void make_wmfire_dockapp();
  11. void read_config(int, char **);
  12. void do_help(void);
  13. @@ -470,7 +470,7 @@
  14. /* Draw fire */
  15. /******************************************/
  16. -inline void
  17. +void
  18. draw_fire(unsigned int load)
  19. {
  20. int x, y, i, j;