summaryrefslogtreecommitdiffstats
path: root/kmahjongg
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-08-23 21:46:58 +0900
committerMichele Calgaro <[email protected]>2018-08-23 21:47:13 +0900
commit4d00f8bcb3e12bfce527f891bed55de30eba150e (patch)
tree57de0596a2872e540a1bed0bd547ba7638b7a645 /kmahjongg
parent7c51670605f2be2aa204d38ca4a76b6dddd5b9e6 (diff)
downloadtdegames-4d00f8bcb3e12bfce527f891bed55de30eba150e.tar.gz
tdegames-4d00f8bcb3e12bfce527f891bed55de30eba150e.zip
Fixed typedef-related warnings from compiler.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 5c529f98bedc098072e2057a8899fa94803bb036)
Diffstat (limited to 'kmahjongg')
-rw-r--r--kmahjongg/HighScore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmahjongg/HighScore.h b/kmahjongg/HighScore.h
index 6c2342ce..38df5454 100644
--- a/kmahjongg/HighScore.h
+++ b/kmahjongg/HighScore.h
@@ -11,7 +11,7 @@ class TQLabel;
const int numScores = 10;
-typedef struct HiScoreEntry {
+struct HiScoreEntry {
TQString name;
long board;
long score;
@@ -19,7 +19,7 @@ typedef struct HiScoreEntry {
};
-typedef struct TableInstance {
+struct TableInstance {
TQString name;
HiScoreEntry entries[numScores];
TableInstance *next;