logo

oasis

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

0004-readelf-remove-unnecessary-after-function-definition.patch (682B)


  1. From ddc7be75561caab4927241df5473561eacc4cca4 Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Thu, 29 Apr 2021 12:20:12 -0700
  4. Subject: [PATCH] readelf: remove unnecessary ';' after function definition
  5. This is not allowed by the ISO C grammar.
  6. ---
  7. readelf/readelf.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/readelf/readelf.c b/readelf/readelf.c
  10. index d3b1bb51..7dafd341 100644
  11. --- a/readelf/readelf.c
  12. +++ b/readelf/readelf.c
  13. @@ -458,7 +458,7 @@ elf_osabi(unsigned int abi)
  14. snprintf(s_abi, sizeof(s_abi), "<unknown: %#x>", abi);
  15. return (s_abi);
  16. }
  17. -};
  18. +}
  19. static const char *
  20. elf_machine(unsigned int mach)
  21. --
  22. 2.31.1