diff options
author | H. Peter Anvin <hpa@zytor.com> | 2018-10-12 23:38:25 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2018-10-12 23:43:22 -0700 |
commit | ecb58f42b2a3bbd8f4ca1f53bd41d9ca1f900626 (patch) | |
tree | 1cbb19e95d303d2f4fca074547c7ab9971c288d4 | |
parent | 4c6fd0a0f3923833a17e4b7beec9952508bab8a4 (diff) | |
download | abcdisk-ecb58f42b2a3bbd8f4ca1f53bd41d9ca1f900626.tar.gz abcdisk-ecb58f42b2a3bbd8f4ca1f53bd41d9ca1f900626.tar.xz abcdisk-ecb58f42b2a3bbd8f4ca1f53bd41d9ca1f900626.zip |
Rename util.h to abcdisk.h
This header file contains more than just the prototypes for util.h
-rw-r--r-- | abcdisk.h (renamed from util.h) | 6 | ||||
-rw-r--r-- | abcread.c | 2 | ||||
-rw-r--r-- | abcwrite.c | 2 | ||||
-rw-r--r-- | bin2abc.c | 2 | ||||
-rw-r--r-- | casdecode.c | 2 | ||||
-rw-r--r-- | clib/dirent.c | 2 | ||||
-rw-r--r-- | deinter.c | 2 | ||||
-rw-r--r-- | formats.c | 2 | ||||
-rw-r--r-- | mangle.c | 2 | ||||
-rw-r--r-- | unmangle.c | 2 | ||||
-rw-r--r-- | util.c | 2 |
11 files changed, 13 insertions, 13 deletions
@@ -1,5 +1,5 @@ -#ifndef UTIL_H -#define UTIL_H +#ifndef ABCDISK_H +#define ABCDISK_H #include "compiler.h" #include "patchlevel.h" @@ -70,4 +70,4 @@ void unmangle_filename(char *out, const unsigned char *in); */ int mangle_name(unsigned char *dst, const char *src); -#endif /* UTIL_H */ +#endif /* ABCDISK_H */ @@ -3,7 +3,7 @@ * * Program to extract the contents from an ABC/UFD-DOS filesystem */ -#include "util.h" +#include "abcdisk.h" /* Copy files as given by tree on stdin */ static int @@ -3,7 +3,7 @@ * * Program to build a populated ABC-DOS hard disk image */ -#include "util.h" +#include "abcdisk.h" /* * Find a free cluster in the bitmap; return the cluster number @@ -5,7 +5,7 @@ * .bac or .abs file. */ -#include "util.h" +#include "abcdisk.h" #include "bin2abc.h" /* Aren't modern computers nice? */ diff --git a/casdecode.c b/casdecode.c index 5afe596..9d2eff4 100644 --- a/casdecode.c +++ b/casdecode.c @@ -6,7 +6,7 @@ * sox muzak.wav --endian little -c 1 -s muzak.raw */ -#include "util.h" +#include "abcdisk.h" #include <math.h> static unsigned int xtime; diff --git a/clib/dirent.c b/clib/dirent.c index 71e9d89..80de18b 100644 --- a/clib/dirent.c +++ b/clib/dirent.c @@ -8,7 +8,7 @@ */ -#include "util.h" +#include "abcdisk.h" #ifndef HAVE_DIRENT_H @@ -4,7 +4,7 @@ * Undo software interleaving */ -#include "util.h" +#include "abcdisk.h" int main(int argc, char *argv[]) { @@ -1,7 +1,7 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> -#include "util.h" +#include "abcdisk.h" #define F(c,h,s) (c),(h),(s),((c)*(h)*(s)) @@ -7,7 +7,7 @@ * Returns 0 for OK, -1 for failure (filename cannot be converted) */ -#include "util.h" +#include "abcdisk.h" int mangle_name(unsigned char *dst, const char *src) { @@ -5,7 +5,7 @@ * in host encoding. */ -#include "util.h" +#include "abcdisk.h" void unmangle_filename(char *out, const unsigned char *in) { @@ -1,4 +1,4 @@ -#include "util.h" +#include "abcdisk.h" const char *program; |