diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -141,3 +141,9 @@ statename(int state) return nil; return statenametab[state]; } + +int +max(int a, int b) +{ + return a > b? a: b; +} |
index : battleship | ||
Multi-user on-line Sink the Fleet | rgl |
aboutsummaryrefslogtreecommitdiff |