logo

oasis

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

0002-wayland-util.h-remove-unused-math.h-include.patch (899B)


  1. From 73a48baabf1e154c6d6bc79270106305773ef95f Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Wed, 16 Dec 2020 00:56:19 -0800
  4. Subject: [PATCH] wayland-util.h: remove unused math.h include
  5. This header is unused since f5df38959b (2012).
  6. ---
  7. src/connection.c | 1 -
  8. src/wayland-util.h | 1 -
  9. 2 files changed, 2 deletions(-)
  10. diff --git a/src/connection.c b/src/connection.c
  11. index d0c7d9f..62e6dbd 100644
  12. --- a/src/connection.c
  13. +++ b/src/connection.c
  14. @@ -26,7 +26,6 @@
  15. #define _GNU_SOURCE
  16. -#include <math.h>
  17. #include <stdlib.h>
  18. #include <stdint.h>
  19. #include <string.h>
  20. diff --git a/src/wayland-util.h b/src/wayland-util.h
  21. index 7997778..5731cf8 100644
  22. --- a/src/wayland-util.h
  23. +++ b/src/wayland-util.h
  24. @@ -31,7 +31,6 @@
  25. #ifndef WAYLAND_UTIL_H
  26. #define WAYLAND_UTIL_H
  27. -#include <math.h>
  28. #include <stddef.h>
  29. #include <inttypes.h>
  30. #include <stdarg.h>
  31. --
  32. 2.32.0