Clean up a bunch of stuff in internal.h
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/1763/
--- a/libpurple/internal.h Mon Sep 12 22:18:06 2022 -0500
+++ b/libpurple/internal.h Mon Sep 12 22:24:33 2022 -0500
@@ -33,43 +33,13 @@
-/* The above should normally be the same as BUF_LEN,
- * but just so we're explicitly asking for the max message
#define BUF_LONG BUF_LEN * 2
-#ifdef HAVE_LANGINFO_CODESET
@@ -98,22 +68,4 @@
-#define PURPLE_BEGIN_IGNORE_CAST_ALIGN \
- _Pragma ("clang diagnostic push") \
- _Pragma ("clang diagnostic ignored \"-Wcast-align\"")
-#define PURPLE_END_IGNORE_CAST_ALIGN \
- _Pragma ("clang diagnostic pop")
-#define PURPLE_BEGIN_IGNORE_CAST_ALIGN
-#define PURPLE_END_IGNORE_CAST_ALIGN
-#include <glib-object.h>
#endif /* PURPLE_INTERNAL_H */
--- a/libpurple/network.c Mon Sep 12 22:18:06 2022 -0500
+++ b/libpurple/network.c Mon Sep 12 22:24:33 2022 -0500
@@ -24,6 +24,8 @@
#include <arpa/nameser.h>
--- a/libpurple/util.c Mon Sep 12 22:18:06 2022 -0500
+++ b/libpurple/util.c Mon Sep 12 22:24:33 2022 -0500
@@ -21,6 +21,8 @@
#include <glib/gi18n-lib.h>
#include "purpleprivate.h"
--- a/libpurple/version.c Mon Sep 12 22:18:06 2022 -0500
+++ b/libpurple/version.c Mon Sep 12 22:24:33 2022 -0500
@@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
const guint purple_major_version = PURPLE_MAJOR_VERSION;
--- a/libpurple/version.h.in Mon Sep 12 22:18:06 2022 -0500
+++ b/libpurple/version.h.in Mon Sep 12 22:24:33 2022 -0500
@@ -27,6 +27,8 @@
--- a/meson.build Mon Sep 12 22:18:06 2022 -0500
+++ b/meson.build Mon Sep 12 22:24:33 2022 -0500
@@ -206,8 +206,6 @@
math = compiler.find_library('m', required: false)
-# before gettexting, in case iconv matters
if host_machine.system() == 'darwin'
IOKIT = dependency('appleframeworks',