void-packages/srcpkgs/pipenightdreams/patches/fix-no-inline.patch

33 lines
1005 B
Diff

--- a/src/pointer.h 2002-01-17 20:56:41.000000000 +0100
+++ b/src/pointer.h 2015-10-09 12:08:16.918082101 +0200
@@ -43,11 +43,11 @@
friend class Board;
- inline void setRow(int row);
- inline void setColumn(int column);
- inline void setRowColumn(int row, int column);
- inline void setMoved(bool flag);
- inline bool moved();
+ void setRow(int row);
+ void setColumn(int column);
+ void setRowColumn(int row, int column);
+ void setMoved(bool flag);
+ bool moved();
Str * image_name;
Image * ima;
--- a/src/player.h 2002-01-17 20:56:40.000000000 +0100
+++ b/src/player.h 2015-10-09 12:14:04.855107185 +0200
@@ -47,8 +47,8 @@
void setStartRowColumn(int row, int column);
void setBoard(Board * bd);
- inline void setRestrictionCoef(unsigned int coef);
- inline void setFixedCoef(unsigned int coef);
+ void setRestrictionCoef(unsigned int coef);
+ void setFixedCoef(unsigned int coef);
void incLives();
void decLives();