From 16c401fbbb4f22a29afe3d63c8105cc8f33061d0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 19 Jan 2021 21:35:34 -0800 Subject: Simplified code by disallowing escapes in strings and splitting stringpatterns into chunks (so unescaped versions don't need to be created) --- pattern.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'pattern.h') diff --git a/pattern.h b/pattern.h index 497fe76..bcb9eac 100644 --- a/pattern.h +++ b/pattern.h @@ -19,8 +19,6 @@ __attribute__((nonnull)) pat_t *bp_pattern(file_t *f, const char *str); __attribute__((nonnull)) def_t *bp_definition(def_t *defs, file_t *f, const char *str); -__attribute__((nonnull)) -void destroy_pat(pat_t *pat); #endif // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1 -- cgit v1.2.3