Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjentsch <mtthsjntsch@gmail.com>2015-11-23 05:06:30 +0300
committermjentsch <mtthsjntsch@gmail.com>2015-11-23 05:06:30 +0300
commit04bc03bebfeb4919d8e95f9323a444993d1c4860 (patch)
tree01bfff4572ff4300f6c5cbad78340d51297185c0 /telegram-base.c
parent9ee84e73a20dda2070f94439ccf4c7fe31f53c63 (diff)
Clean up the include mess
Keep all libtgl and telegram-purple includes in telegram-purple.h to prevent duplication of all those includes. Remove redundant includes.
Diffstat (limited to 'telegram-base.c')
-rw-r--r--telegram-base.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/telegram-base.c b/telegram-base.c
index 148f0ad..6c2a624 100644
--- a/telegram-base.c
+++ b/telegram-base.c
@@ -21,32 +21,12 @@
#define _GNU_SOURCE
#include <stdlib.h>
#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
-#include <stdio.h>
-#include <assert.h>
-
-#include <tgl.h>
-#include <tgl-binlog.h>
-#include <tgl-methods-in.h>
-#include <tgl-queries.h>
-
-#include <glib.h>
-#include <request.h>
#include <gcrypt.h>
#include "telegram-base.h"
-#include "telegram-purple.h"
-#include "msglog.h"
-#include "tgp-2prpl.h"
-#include "tgp-structs.h"
-#include "tgp-utils.h"
-#include "tgp-chat.h"
-#include "tgp-request.h"
#include "lodepng/lodepng.h"
-
// O_BINARY exists on windows and must be defined, but doesn't exist on unix-based systems
#ifndef O_BINARY
#define O_BINARY 0