about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--stack.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stack.h b/stack.h
index 61c6fc2..f5140df 100644
--- a/stack.h
+++ b/stack.h
@@ -29,7 +29,7 @@
 
 typedef Sint8 Card;
 
-static int cardSuit(Card card) {
+static inline int cardSuit(Card card) {
 	card = abs(card);
 	if (card > Cards_Spade) {
 		return Cards_Spade;
@@ -42,11 +42,11 @@ static int cardSuit(Card card) {
 	}
 }
 
-static int cardColor(Card card) {
+static inline int cardColor(Card card) {
 	return cardSuit(card) == Cards_Diamond || cardSuit(card) == Cards_Heart;
 }
 
-static int cardRank(Card card) {
+static inline int cardRank(Card card) {
 	return abs(card) - cardSuit(card);
 }