From 2d4d6787c4bc62042be4a58a4791074ab2c6a89e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 4 Feb 2022 11:23:27 -0500 Subject: regex: Add support for emacs and grep types --- util.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index c0551a2..0a1bf69 100644 --- a/util.h +++ b/util.h @@ -169,17 +169,6 @@ int dup_cloexec(int fd); */ int pipe_cloexec(int pipefd[2]); -/** - * Dynamically allocate a regex error message. - * - * @param err - * The error code to stringify. - * @param regex - * The (partially) compiled regex. - * @return A human-readable description of the error, allocated with malloc(). - */ -char *xregerror(int err, const regex_t *regex); - /** * Format a mode like ls -l (e.g. -rw-r--r--). * -- cgit v1.2.3