[arch-projects] [pyalpm][PATCH] remove unrequired includes
Jelle van der Waa
jelle at vdwaa.nl
Wed Nov 16 21:05:04 UTC 2016
These unrequired includes where found by llvm's include-what-you-use
Signed-off-by: Jelle van der Waa <jelle at vdwaa.nl>
---
src/pyalpm.c | 1 -
src/pyalpm.h | 6 ------
2 files changed, 7 deletions(-)
diff --git a/src/pyalpm.c b/src/pyalpm.c
index 507f564..12e57c8 100644
--- a/src/pyalpm.c
+++ b/src/pyalpm.c
@@ -20,7 +20,6 @@
#include "pyalpm.h"
#include "util.h"
-#include "handle.h"
#include "package.h"
#include "db.h"
diff --git a/src/pyalpm.h b/src/pyalpm.h
index d9784e4..6f80570 100644
--- a/src/pyalpm.h
+++ b/src/pyalpm.h
@@ -20,12 +20,6 @@ This file is part of pyalpm.
*/
#include <Python.h>
-#include <alpm.h>
-#include <alpm_list.h>
-
-#include <stdio.h>
-#include <string.h>
-
#ifndef PYALPM_H
#define PYALPM_H
--
2.10.2
More information about the arch-projects
mailing list