about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/util.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libutil/util.hh')
-rw-r--r--third_party/nix/src/libutil/util.hh6
1 files changed, 0 insertions, 6 deletions
diff --git a/third_party/nix/src/libutil/util.hh b/third_party/nix/src/libutil/util.hh
index 0f3752dfde5a..51d9979e1655 100644
--- a/third_party/nix/src/libutil/util.hh
+++ b/third_party/nix/src/libutil/util.hh
@@ -344,12 +344,6 @@ bool string2Float(const std::string& s, N& n) {
   return str && str.get() == EOF;
 }
 
-/* Return true iff `s' starts with `prefix'. */
-bool hasPrefix(const std::string& s, const std::string& prefix);
-
-/* Return true iff `s' ends in `suffix'. */
-bool hasSuffix(const std::string& s, const std::string& suffix);
-
 /* Convert a string to lower case. */
 std::string toLower(const std::string& s);