logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0001-Remove-after-function-definition.patch (818B)


  1. From 76adb32c89184406278fd51a3fe138314b134a12 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Sat, 15 Jun 2019 20:58:00 -0700
  4. Subject: [PATCH] Remove `;` after function definition
  5. Upstream: https://github.com/ggreer/the_silver_searcher/pull/1324
  6. ---
  7. src/ignore.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/src/ignore.c b/src/ignore.c
  10. index fa41889..bdb03b4 100644
  11. --- a/src/ignore.c
  12. +++ b/src/ignore.c
  13. @@ -39,7 +39,7 @@ const char *ignore_pattern_files[] = {
  14. int is_empty(ignores *ig) {
  15. return (ig->extensions_len + ig->names_len + ig->slash_names_len + ig->regexes_len + ig->slash_regexes_len == 0);
  16. -};
  17. +}
  18. ignores *init_ignore(ignores *parent, const char *dirname, const size_t dirname_len) {
  19. ignores *ig = ag_malloc(sizeof(ignores));
  20. --
  21. 2.20.1