0001-libubigen-remove-unnecessary-include.patch 780 B

1234567891011121314151617181920212223242526272829
  1. From 87809c4804d3355ecd2fd0bd3362526fa27bf953 Mon Sep 17 00:00:00 2001
  2. From: Bastian Germann <bastiangermann@fishpost.de>
  3. Date: Wed, 29 Jan 2020 19:50:12 +0100
  4. Subject: [PATCH 1/2] libubigen: remove unnecessary include
  5. libubigen.h does not use any symbol from mtd/ubi-media.h,
  6. so remove it from includes.
  7. Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
  8. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
  9. ---
  10. include/libubigen.h | 1 -
  11. 1 file changed, 1 deletion(-)
  12. diff --git a/include/libubigen.h b/include/libubigen.h
  13. index c25ac20..48d2fad 100644
  14. --- a/include/libubigen.h
  15. +++ b/include/libubigen.h
  16. @@ -26,7 +26,6 @@
  17. #define __LIBUBIGEN_H__
  18. #include <stdint.h>
  19. -#include <mtd/ubi-media.h>
  20. #ifdef __cplusplus
  21. extern "C" {
  22. --
  23. 2.25.1