diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2021-12-01 14:02:42 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-02-23 11:32:42 +0000 |
commit | 4a384cb88b02fb086e1035971dd142115cf9b377 (patch) | |
tree | 460376c8395fe7974bb6a007d2515983cade3b5e | |
parent | abfffeaad949c9f47bb6058ee17e88c7092ffbe6 (diff) | |
download | libnsgif-4a384cb88b02fb086e1035971dd142115cf9b377.tar.gz libnsgif-4a384cb88b02fb086e1035971dd142115cf9b377.tar.bz2 |
LIB: Rename public header and source file.
This allows the library header to have a name consistent with
the library soname.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | include/nsgif.h (renamed from include/libnsgif.h) | 0 | ||||
-rw-r--r-- | src/Makefile | 2 | ||||
-rw-r--r-- | src/gif.c (renamed from src/libnsgif.c) | 2 | ||||
-rw-r--r-- | test/decode_gif.c | 2 |
5 files changed, 4 insertions, 4 deletions
@@ -44,6 +44,6 @@ include $(NSBUILD)/Makefile.top # Extra installation rules I := /$(INCLUDEDIR) -INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsgif.h +INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsgif.h INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT) diff --git a/include/libnsgif.h b/include/nsgif.h index 114addf..114addf 100644 --- a/include/libnsgif.h +++ b/include/nsgif.h diff --git a/src/Makefile b/src/Makefile index cb5d31f..e1e1fa7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ # Sources -DIR_SOURCES := libnsgif.c lzw.c +DIR_SOURCES := gif.c lzw.c include $(NSBUILD)/Makefile.subdir diff --git a/src/libnsgif.c b/src/gif.c index a2f28b4..28d7862 100644 --- a/src/libnsgif.c +++ b/src/gif.c @@ -15,7 +15,7 @@ #include <stdbool.h> #include "lzw.h" -#include "libnsgif.h" +#include "nsgif.h" /** * diff --git a/test/decode_gif.c b/test/decode_gif.c index 87f0738..20cb571 100644 --- a/test/decode_gif.c +++ b/test/decode_gif.c @@ -15,7 +15,7 @@ #include <string.h> #include <sys/stat.h> -#include "../include/libnsgif.h" +#include "../include/nsgif.h" #define BYTES_PER_PIXEL 4 #define MAX_IMAGE_BYTES (48 * 1024 * 1024) |