[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kpmcore] src: Remove obsolete headers.
From:       Teo Mrnjavac <teo () kde ! org>
Date:       2016-11-30 15:42:08
Message-ID: E1cC71M-0006Z1-Ll () code ! kde ! org
[Download RAW message or body]

Git commit 39ec355b70fa3afb5d218bba7fc1bff1ec5c6435 by Teo Mrnjavac.
Committed on 30/11/2016 at 15:42.
Pushed by mrnjavac into branch 'master'.

Remove obsolete headers.

M  +0    -2    src/fs/jfs.cpp
M  +0    -2    src/fs/xfs.cpp
M  +0    -2    src/plugins/dummy/dummypartitiontable.cpp
M  +0    -1    src/plugins/libparted/libpartedbackend.cpp
M  +0    -2    src/plugins/libparted/libparteddevice.cpp
M  +0    -1    src/util/htmlreport.cpp
M  +0    -1    src/util/report.cpp

https://commits.kde.org/kpmcore/39ec355b70fa3afb5d218bba7fc1bff1ec5c6435

diff --git a/src/fs/jfs.cpp b/src/fs/jfs.cpp
index 7246e4c..bf6a906 100644
--- a/src/fs/jfs.cpp
+++ b/src/fs/jfs.cpp
@@ -27,8 +27,6 @@
 
 #include <KLocalizedString>
 
-#include <unistd.h>
-
 namespace FS
 {
 FileSystem::CommandSupportType jfs::m_GetUsed = FileSystem::cmdSupportNone;
diff --git a/src/fs/xfs.cpp b/src/fs/xfs.cpp
index e399de0..a109086 100644
--- a/src/fs/xfs.cpp
+++ b/src/fs/xfs.cpp
@@ -29,8 +29,6 @@
 
 #include <KLocalizedString>
 
-#include <unistd.h>
-
 namespace FS
 {
 FileSystem::CommandSupportType xfs::m_GetUsed = FileSystem::cmdSupportNone;
diff --git a/src/plugins/dummy/dummypartitiontable.cpp \
b/src/plugins/dummy/dummypartitiontable.cpp index e83055e..8c21d25 100644
--- a/src/plugins/dummy/dummypartitiontable.cpp
+++ b/src/plugins/dummy/dummypartitiontable.cpp
@@ -26,8 +26,6 @@
 
 #include "util/report.h"
 
-#include <unistd.h>
-
 DummyPartitionTable::DummyPartitionTable() :
     CoreBackendPartitionTable()
 {
diff --git a/src/plugins/libparted/libpartedbackend.cpp \
b/src/plugins/libparted/libpartedbackend.cpp index a6276a4..dc5262a 100644
--- a/src/plugins/libparted/libpartedbackend.cpp
+++ b/src/plugins/libparted/libpartedbackend.cpp
@@ -53,7 +53,6 @@
 #include <KPluginFactory>
 
 #include <parted/parted.h>
-#include <unistd.h>
 
 K_PLUGIN_FACTORY_WITH_JSON(LibPartedBackendFactory, "pmlibpartedbackendplugin.json", \
registerPlugin<LibPartedBackend>();)  
diff --git a/src/plugins/libparted/libparteddevice.cpp \
b/src/plugins/libparted/libparteddevice.cpp index 5a4b33b..f508017 100644
--- a/src/plugins/libparted/libparteddevice.cpp
+++ b/src/plugins/libparted/libparteddevice.cpp
@@ -26,8 +26,6 @@
 
 #include <KLocalizedString>
 
-#include <unistd.h>
-
 LibPartedDevice::LibPartedDevice(const QString& deviceNode) :
     CoreBackendDevice(deviceNode),
     m_PedDevice(nullptr)
diff --git a/src/util/htmlreport.cpp b/src/util/htmlreport.cpp
index 02b4022..20c8f7f 100644
--- a/src/util/htmlreport.cpp
+++ b/src/util/htmlreport.cpp
@@ -32,7 +32,6 @@
 #include <kio_version.h>
 
 #include <sys/utsname.h>
-#include <unistd.h>
 
 QString HtmlReport::tableLine(const QString& label, const QString contents)
 {
diff --git a/src/util/report.cpp b/src/util/report.cpp
index 30b9cd4..e688d32 100644
--- a/src/util/report.cpp
+++ b/src/util/report.cpp
@@ -25,7 +25,6 @@
 #include <KLocalizedString>
 
 #include <sys/utsname.h>
-#include <unistd.h>
 
 /** Creates a new Report instance.
     @param p pointer to the parent instance. May be nullptr ig this is a new root \
Report.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic