summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2021-11-24 19:48:58 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2021-11-24 19:54:19 +0000
commita83ed529003818e3f4ce70a68752a34c66461de2 (patch)
treecb81ea4026432cb8c465fb9f49e8d3a9a285a416 /src
parentfe39d4611ccce7cdb7be11edf7a819888b6319a4 (diff)
downloadlibnsgif-a83ed529003818e3f4ce70a68752a34c66461de2.tar.gz
libnsgif-a83ed529003818e3f4ce70a68752a34c66461de2.tar.bz2
LOG: Remove unused logging code.
Diffstat (limited to 'src')
-rw-r--r--src/libnsgif.c4
-rw-r--r--src/utils/log.h21
2 files changed, 1 insertions, 24 deletions
diff --git a/src/libnsgif.c b/src/libnsgif.c
index 38816f5..dbc066a 100644
--- a/src/libnsgif.c
+++ b/src/libnsgif.c
@@ -10,13 +10,11 @@
#include <stdbool.h>
#include <stdint.h>
-#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
-#include "libnsgif.h"
-#include "utils/log.h"
+#include "libnsgif.h"
#include "lzw.h"
/**
diff --git a/src/utils/log.h b/src/utils/log.h
deleted file mode 100644
index 1413374..0000000
--- a/src/utils/log.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2003 James Bursa <bursa@users.sourceforge.net>
- * Copyright 2004 John Tytgat <John.Tytgat@aaug.net>
- *
- * This file is part of NetSurf, http://www.netsurf-browser.org/
- * Licenced under the MIT License,
- * http://www.opensource.org/licenses/mit-license.php
- */
-
-#include <stdio.h>
-
-#ifndef _LIBNSGIF_LOG_H_
-#define _LIBNSGIF_LOG_H_
-
-#ifdef NDEBUG
-# define LOG(x) ((void) 0)
-#else
-# define LOG(x) do { fprintf(stderr, x), fputc('\n', stderr); } while (0)
-#endif /* NDEBUG */
-
-#endif /* _LIBNSGIF_LOG_H_ */