From 83883a5c189a4345da922f4f7cddb6a54a346e99 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Mon, 4 Sep 2017 16:00:02 +0300 Subject: [PATCH] ipcpipeline: cleanup header includes We are only using read(), write(), memcpy(), strlen() and errno in ipcpipelinecomm.c. Everything else is glib/gstreamer. --- sys/ipcpipeline/gstipcpipelinecomm.c | 1 - sys/ipcpipeline/gstipcpipelinecomm.h | 1 - sys/ipcpipeline/gstipcpipelinesink.c | 2 -- sys/ipcpipeline/gstipcpipelinesrc.c | 4 ---- 4 files changed, 8 deletions(-) diff --git a/sys/ipcpipeline/gstipcpipelinecomm.c b/sys/ipcpipeline/gstipcpipelinecomm.c index 6f17a11..c640097 100644 --- a/sys/ipcpipeline/gstipcpipelinecomm.c +++ b/sys/ipcpipeline/gstipcpipelinecomm.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include "gstipcpipelinecomm.h" diff --git a/sys/ipcpipeline/gstipcpipelinecomm.h b/sys/ipcpipeline/gstipcpipelinecomm.h index cebbadb..9c0effa 100644 --- a/sys/ipcpipeline/gstipcpipelinecomm.h +++ b/sys/ipcpipeline/gstipcpipelinecomm.h @@ -24,7 +24,6 @@ #ifndef __GST_IPC_PIPELINE_COMM_H__ #define __GST_IPC_PIPELINE_COMM_H__ -#include #include #include diff --git a/sys/ipcpipeline/gstipcpipelinesink.c b/sys/ipcpipeline/gstipcpipelinesink.c index f1f02bf..526a731 100644 --- a/sys/ipcpipeline/gstipcpipelinesink.c +++ b/sys/ipcpipeline/gstipcpipelinesink.c @@ -73,9 +73,7 @@ # include "config.h" #endif -#include #include "gstipcpipelinesink.h" -#include static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, diff --git a/sys/ipcpipeline/gstipcpipelinesrc.c b/sys/ipcpipeline/gstipcpipelinesrc.c index 656bd5a..3f5525d 100644 --- a/sys/ipcpipeline/gstipcpipelinesrc.c +++ b/sys/ipcpipeline/gstipcpipelinesrc.c @@ -40,10 +40,6 @@ # include "config.h" #endif -#include -#include -#include - #include "gstipcpipelinesrc.h" static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src", -- 2.7.4