diff options
author | Omar Polo <op@omarpolo.com> | 2023-08-11 10:38:34 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-08-11 10:38:34 +0000 |
commit | 95500a936a1b0e42d304315fd2f7ae20ca391042 (patch) | |
tree | 449fac7d1b9f268b98c7bc3a0eda939dd7c67a4e /gmid.h | |
parent | 8bb1b2363302a31c91ba921580d3227ccd3e878c (diff) |
remove not so useful starts_with()
replace its only usage with strncmp(). it's likely faster too.
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -453,7 +453,6 @@ int puny_decode(const char*, char*, size_t, const char**); /* utils.c */ const char *strip_path(const char *, int); -int starts_with(const char*, const char*); int ends_with(const char*, const char*); char *absolutify_path(const char*); char *xstrdup(const char*); |