[pan: 20/21] Removed #include duplicates.




commit fa5f1f6fbd3a8995f7e1cc92359411330d43b8e5
Author: FoxMcCloud45 <foxmccloud45 hotmail com>
Date:   Wed Dec 8 21:44:54 2021 +0100

    Removed #include duplicates.

 pan/data-impl/headers.cc         | 1 -
 pan/data/article-cache.cc        | 2 --
 pan/data/encode-cache.cc         | 5 -----
 pan/general/e-util.cc            | 3 ---
 pan/general/file-util.cc         | 2 --
 pan/general/text-match.cc        | 2 --
 pan/gui/gui.cc                   | 1 -
 pan/tasks/encoder.cc             | 1 -
 pan/tasks/socket-impl-gio.cc     | 1 -
 pan/tasks/socket-impl-openssl.cc | 1 -
 pan/tasks/task-groups.cc         | 1 -
 pan/tasks/task-xover.cc          | 2 --
 pan/tasks/task-xoverinfo.cc      | 3 ---
 pan/usenet-utils/gpg.cc          | 1 -
 pan/usenet-utils/mime-utils.cc   | 1 -
 15 files changed, 27 deletions(-)
---
diff --git a/pan/data-impl/headers.cc b/pan/data-impl/headers.cc
index fcd2c22..9906122 100644
--- a/pan/data-impl/headers.cc
+++ b/pan/data-impl/headers.cc
@@ -30,7 +30,6 @@ extern "C" {
   #include <sys/types.h> // for chmod
   #include <sys/stat.h> // for chmod
 }
-#include <glib/gi18n.h>
 #include <pan/general/debug.h>
 #include <pan/general/log.h>
 #include <pan/general/macros.h>
diff --git a/pan/data/article-cache.cc b/pan/data/article-cache.cc
index 3d0e014..bb61f82 100644
--- a/pan/data/article-cache.cc
+++ b/pan/data/article-cache.cc
@@ -18,8 +18,6 @@
  */
 
 #include <config.h>
-#include <glib.h>
-#include <glib/gi18n.h>
 
 extern "C"
 {
diff --git a/pan/data/encode-cache.cc b/pan/data/encode-cache.cc
index e8813e1..0377cec 100644
--- a/pan/data/encode-cache.cc
+++ b/pan/data/encode-cache.cc
@@ -21,9 +21,6 @@
 #include <fstream>
 #include <sstream>
 
-#include <glib.h>
-#include <glib/gi18n.h>
-
 extern "C"
 {
   #include <errno.h>
@@ -32,8 +29,6 @@ extern "C"
   #include <unistd.h>
   #include <dirent.h>
 }
-#include <glib.h>
-#include <glib/gi18n.h>
 
 #include <gmime/gmime.h>
 #include <glib.h>
diff --git a/pan/general/e-util.cc b/pan/general/e-util.cc
index a8cd5c1..b21ca1b 100644
--- a/pan/general/e-util.cc
+++ b/pan/general/e-util.cc
@@ -24,9 +24,6 @@
 #include <cstdlib>
 #include <cstring>
 #include <ctime>
-#include <glib.h>
-#include <glib/gi18n.h>
-
 extern "C" {
   #include <ctype.h>
 }
diff --git a/pan/general/file-util.cc b/pan/general/file-util.cc
index 25ec407..45c3a23 100644
--- a/pan/general/file-util.cc
+++ b/pan/general/file-util.cc
@@ -21,8 +21,6 @@
 #include <cassert>
 #include <cerrno>
 #include <cctype>
-#include <glib.h>
-#include <glib/gi18n.h>
 
 extern "C"
 {
diff --git a/pan/general/text-match.cc b/pan/general/text-match.cc
index f88f128..8486b17 100644
--- a/pan/general/text-match.cc
+++ b/pan/general/text-match.cc
@@ -18,8 +18,6 @@
  */
 
 #include <config.h>
-#include <glib.h>
-#include <glib/gi18n.h>
 
 extern "C" {
   #include <ctype.h>
diff --git a/pan/gui/gui.cc b/pan/gui/gui.cc
index 8c097b2..7dca1e7 100644
--- a/pan/gui/gui.cc
+++ b/pan/gui/gui.cc
@@ -22,7 +22,6 @@
 #include <string>
 #include <sstream>
 #include <fstream>
-#include <glib/gi18n.h>
 extern "C" {
   #include <sys/types.h> // for chmod
   #include <sys/stat.h> // for chmod
diff --git a/pan/tasks/encoder.cc b/pan/tasks/encoder.cc
index 9a4dcc9..fad9a63 100644
--- a/pan/tasks/encoder.cc
+++ b/pan/tasks/encoder.cc
@@ -27,7 +27,6 @@
 #include <ostream>
 #include <fstream>
 #include <sstream>
-#include <glib/gi18n.h>
 
 #define PROTOTYPES
 #include <uulib/uudeview.h>
diff --git a/pan/tasks/socket-impl-gio.cc b/pan/tasks/socket-impl-gio.cc
index b4309e1..b9c44cd 100644
--- a/pan/tasks/socket-impl-gio.cc
+++ b/pan/tasks/socket-impl-gio.cc
@@ -28,7 +28,6 @@
 #include <string>
 #include <cerrno>
 #include <cstring>
-#include <glib/gi18n.h>
 
 extern "C" {
   #include <unistd.h>
diff --git a/pan/tasks/socket-impl-openssl.cc b/pan/tasks/socket-impl-openssl.cc
index 30d43bb..72518d6 100644
--- a/pan/tasks/socket-impl-openssl.cc
+++ b/pan/tasks/socket-impl-openssl.cc
@@ -31,7 +31,6 @@
 #include <string>
 #include <cerrno>
 #include <cstring>
-#include <glib/gi18n.h>
 
 extern "C" {
   #include <unistd.h>
diff --git a/pan/tasks/task-groups.cc b/pan/tasks/task-groups.cc
index 471925f..ad42a3a 100644
--- a/pan/tasks/task-groups.cc
+++ b/pan/tasks/task-groups.cc
@@ -23,7 +23,6 @@
 extern "C" {
   #include <stdlib.h>
 }
-
 #include <pan/general/debug.h>
 #include <pan/general/macros.h>
 #include <pan/general/messages.h>
diff --git a/pan/tasks/task-xover.cc b/pan/tasks/task-xover.cc
index cbd9577..021f099 100644
--- a/pan/tasks/task-xover.cc
+++ b/pan/tasks/task-xover.cc
@@ -29,8 +29,6 @@ extern "C" {
 #include <glib/gi18n.h>
 #include <gmime/gmime-utils.h>
 
-#include <glib/gi18n.h>
-#include <gmime/gmime-utils.h>
 #include <fstream>
 #include <iostream>
 #include <pan/general/debug.h>
diff --git a/pan/tasks/task-xoverinfo.cc b/pan/tasks/task-xoverinfo.cc
index b5ad57f..0cd4147 100644
--- a/pan/tasks/task-xoverinfo.cc
+++ b/pan/tasks/task-xoverinfo.cc
@@ -20,9 +20,6 @@
 #include <config.h>
 #include <cassert>
 #include <cerrno>
-#include <glib/gi18n.h>
-#include <gmime/gmime-utils.h>
-
 extern "C" {
   #include <stdio.h>
 }
diff --git a/pan/usenet-utils/gpg.cc b/pan/usenet-utils/gpg.cc
index f44f60d..0c3ae14 100644
--- a/pan/usenet-utils/gpg.cc
+++ b/pan/usenet-utils/gpg.cc
@@ -23,7 +23,6 @@
 #include <pan/general/log.h>
 #include <pan/general/macros.h>
 #include "gpg.h"
-#include <glib/gi18n.h>
 
 extern "C" {
   #include <stdlib.h>
diff --git a/pan/usenet-utils/mime-utils.cc b/pan/usenet-utils/mime-utils.cc
index 41b3160..f5d7620 100644
--- a/pan/usenet-utils/mime-utils.cc
+++ b/pan/usenet-utils/mime-utils.cc
@@ -23,7 +23,6 @@
 #include <cstdlib>
 #include <iostream>
 #include <sstream>
-#include <gmime/gmime.h>
 extern "C"
 {
   #include <unistd.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]