diff options
author | Bardur Arantsson <bardur@scientician.net> | 2018-03-25 20:07:31 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2018-03-25 20:07:31 +0200 |
commit | bf0ddb1341419740684db08812c3b077d101d25d (patch) | |
tree | fa3b5c1a13c126e5d2c28e6b667cd043350f1f46 /src/dice.cc | |
parent | decd9655b60f7437e58e76b92ff658b639b5f92a (diff) |
Remove 'cptr' typedef
It's time to rip off the band-aid.
Diffstat (limited to 'src/dice.cc')
-rw-r--r-- | src/dice.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dice.cc b/src/dice.cc index 187bae68..0e2f48e6 100644 --- a/src/dice.cc +++ b/src/dice.cc @@ -13,7 +13,7 @@ void dice_init(dice_type *dice, long base, long num, long sides) dice->sides = sides; } -bool_ dice_parse(dice_type *dice, cptr s) +bool_ dice_parse(dice_type *dice, const char *s) { long base, num, sides; @@ -50,7 +50,7 @@ bool_ dice_parse(dice_type *dice, cptr s) return FALSE; } -void dice_parse_checked(dice_type *dice, cptr s) +void dice_parse_checked(dice_type *dice, const char *s) { bool_ result = dice_parse(dice, s); if (!result) |