Loader includes tweaks
This commit is contained in:
parent
9d5e8dffe1
commit
3459740001
|
@ -1,7 +1,5 @@
|
|||
#include "loader_common.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
int
|
||||
decompress_load(ImlibImage * im, int load_data, const char *const *pext,
|
||||
int next, imlib_decompress_load_f * fdec)
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#include "loader_common.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
static struct {
|
||||
const unsigned char *data, *dptr;
|
||||
unsigned int size;
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
*/
|
||||
#include "loader_common.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define DBG_PFX "LDR-bmp"
|
||||
#define Dx(fmt...)
|
||||
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
#define __LOADER_COMMON_H 1
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "common.h"
|
||||
#include "debug.h"
|
||||
#include "image.h"
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define mm_check(p) ((const char *)(p) <= (const char *)fdata + im->fsize)
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "loader_common.h"
|
||||
|
||||
#include <libheif/heif.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define HEIF_BYTES_TO_CHECK 12L
|
||||
#define HEIF_8BIT_TO_PIXEL_ARGB(plane, has_alpha) \
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include "loader_common.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define DBG_PFX "LDR-ico"
|
||||
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
|
||||
#include "loader_common.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define DBG_PFX "LDR-lbm"
|
||||
|
||||
#define L2RLONG(a) ((((int)((a)[0]) & 0xff) << 24) + (((int)((a)[1]) & 0xff) << 16) + (((int)((a)[2]) & 0xff) << 8) + ((int)((a)[3]) & 0xff))
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <png.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/mman.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#define DBG_PFX "LDR-png"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <ctype.h>
|
||||
#include <stdbool.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define DBG_PFX "LDR-pnm"
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "loader_common.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <sys/mman.h>
|
||||
#include <librsvg/rsvg.h>
|
||||
|
||||
#define DBG_PFX "LDR-svg"
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "loader_common.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define DBG_PFX "LDR-tga"
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <setjmp.h>
|
||||
#include <stdint.h>
|
||||
#include <tiffio.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
/* This is a wrapper data structure for TIFFRGBAImage, so that data can be */
|
||||
/* passed into the callbacks. More elegent, I think, than a bunch of globals */
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#include "loader_common.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
#include <webp/decode.h>
|
||||
#include <webp/demux.h>
|
||||
#include <webp/encode.h>
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
#define _GNU_SOURCE /* memmem() */
|
||||
#include "loader_common.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define DBG_PFX "LDR-xbm"
|
||||
|
||||
static struct {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#define _GNU_SOURCE /* memmem() */
|
||||
#include "loader_common.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
|
||||
static struct {
|
||||
const char *data, *dptr;
|
||||
unsigned int size;
|
||||
|
|
Loading…
Reference in New Issue