diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-09-18 11:36:40 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-09-18 11:36:40 -0400 |
commit | ad062bd0ad547447f74840b89fb0dced35be0fdc (patch) | |
tree | 97cb1673ec68fa8aaad9d1c15687c15e9b70b9c5 /util | |
parent | 9e9bd1823942e0b5e93cb3866799e7d336f2bb0d (diff) |
improved fn params
Diffstat (limited to 'util')
-rw-r--r-- | util/location.c | 3 | ||||
-rw-r--r-- | util/where.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/util/location.c b/util/location.c new file mode 100644 index 0000000..f588146 --- /dev/null +++ b/util/location.c @@ -0,0 +1,3 @@ +bool location_after(Location a, Location b) { /* a is after b? */ + return a.code > b.code; +} diff --git a/util/where.c b/util/where.c deleted file mode 100644 index 4ac786d..0000000 --- a/util/where.c +++ /dev/null @@ -1,3 +0,0 @@ -bool is_after(Location a, Location b) { /* a is after b? */ - return a.code > b.code; -} |