void-packages/srcpkgs/ulatencyd/patches/0003-ulatencyd-lua_binding-...

46 lines
1.2 KiB
Diff

From de041265241f12304969546a0f6becf7e3edf78c Mon Sep 17 00:00:00 2001
From: Andrea Brancaleoni <miwaxe@gmail.com>
Date: Sat, 22 Aug 2015 00:40:45 +0200
Subject: [PATCH 3/4] {ulatencyd,lua_binding}.c: removed unused headers
---
src/lua_binding.c | 1 -
src/ulatencyd.c | 2 --
2 files changed, 3 deletions(-)
diff --git a/src/lua_binding.c b/src/lua_binding.c
index aab118e..a8fb882 100644
--- a/src/lua_binding.c
+++ b/src/lua_binding.c
@@ -34,7 +34,6 @@
#include <glib.h>
#include <signal.h>
#include <time.h>
-#include <bits/signum.h>
//#include <errno.h>
#include <sched.h>
#include <linux/sched.h>
diff --git a/src/ulatencyd.c b/src/ulatencyd.c
index ff8972b..1966d94 100644
--- a/src/ulatencyd.c
+++ b/src/ulatencyd.c
@@ -27,7 +27,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
-#include <errno.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
@@ -51,7 +50,6 @@ DBusGConnection *U_dbus_connection_system;
#include <proc/sysinfo.h>
#include <proc/readproc.h>
#include <sys/mman.h>
-#include <error.h>
static gchar *config_file = QUOTEME(CONFIG_PATH)"/ulatencyd.conf";
static gchar *rules_directory = QUOTEME(RULES_DIRECTORY);
--
2.5.0