From e8563c43527e7f0fcb338069f39d74d252340d28 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 1 Feb 2009 23:26:27 +0100 Subject: [PATCH] rename extract.{c,h} to filesystem.{c,h} --- Makefile | 8 ++++---- extract.c => filesystem.c | 2 +- extract.h => filesystem.h | 0 firmware.c | 2 +- rsb-lz.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename extract.c => filesystem.c (99%) rename extract.h => filesystem.h (100%) diff --git a/Makefile b/Makefile index 25c0efe..15de0a8 100644 --- a/Makefile +++ b/Makefile @@ -2,17 +2,17 @@ CFLAGS=-Wall -O3 all: firmware -firmware: firmware.o rsb-crc.o rsb-lz.o extract.o +firmware: firmware.o rsb-crc.o rsb-lz.o filesystem.o -firmware.o: firmware.c rsb-crc.h extract.h +firmware.o: firmware.c rsb-crc.h filesystem.h rsb-crc.o: rsb-crc.c rsb-crc.h rsb-lz.o: rsb-lz.c rsb-lz.h -extract.o: extract.c extract.h rsb-lz.h +filesystem.o: filesystem.c filesystem.h rsb-lz.h clean: - rm -f firmware firmware.o rsb-crc.o rsb-lz.o extract.o + rm -f firmware firmware.o rsb-crc.o rsb-lz.o filesystem.o .PHONY: all clean diff --git a/extract.c b/filesystem.c similarity index 99% rename from extract.c rename to filesystem.c index b420899..2d71946 100644 --- a/extract.c +++ b/filesystem.c @@ -10,7 +10,7 @@ #include #include #include "rsb-lz.h" -#include "extract.h" +#include "filesystem.h" struct file_entry* get_next_file(unsigned char *fw, int len) { diff --git a/extract.h b/filesystem.h similarity index 100% rename from extract.h rename to filesystem.h diff --git a/firmware.c b/firmware.c index e4401da..9f599f3 100644 --- a/firmware.c +++ b/firmware.c @@ -8,7 +8,7 @@ #include #include #include "rsb-crc.h" -#include "extract.h" +#include "filesystem.h" #define FINDSTR(addr, str) (!strncmp((char*)addr, str, strlen(str))) diff --git a/rsb-lz.c b/rsb-lz.c index 3e6e638..c68ac8d 100644 --- a/rsb-lz.c +++ b/rsb-lz.c @@ -6,7 +6,7 @@ #include #include "rsb-crc.h" #include "rsb-lz.h" -#include "extract.h" +#include "filesystem.h" /* TODO: IMPLEMET THIS! */ /* Probably very broken lzw implementation by Agilent: -- 2.39.2