Files
oasis-linux-mirror/pkg/wayland/patch/0002-wayland-util.h-remove-unused-math.h-include.patch

39 lines
899 B
Diff

From 73a48baabf1e154c6d6bc79270106305773ef95f Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Wed, 16 Dec 2020 00:56:19 -0800
Subject: [PATCH] wayland-util.h: remove unused math.h include
This header is unused since f5df38959b (2012).
---
src/connection.c | 1 -
src/wayland-util.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index d0c7d9f..62e6dbd 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -26,7 +26,6 @@
#define _GNU_SOURCE
-#include <math.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
diff --git a/src/wayland-util.h b/src/wayland-util.h
index 7997778..5731cf8 100644
--- a/src/wayland-util.h
+++ b/src/wayland-util.h
@@ -31,7 +31,6 @@
#ifndef WAYLAND_UTIL_H
#define WAYLAND_UTIL_H
-#include <math.h>
#include <stddef.h>
#include <inttypes.h>
#include <stdarg.h>
--
2.32.0