From ad062bd0ad547447f74840b89fb0dced35be0fdc Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 18 Sep 2019 11:36:40 -0400 Subject: improved fn params --- util/location.c | 3 +++ util/where.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 util/location.c delete mode 100644 util/where.c (limited to 'util') 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; -} -- cgit v1.2.3