aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-10-12 23:38:25 -0700
committerH. Peter Anvin <hpa@zytor.com>2018-10-12 23:43:22 -0700
commitecb58f42b2a3bbd8f4ca1f53bd41d9ca1f900626 (patch)
tree1cbb19e95d303d2f4fca074547c7ab9971c288d4
parent4c6fd0a0f3923833a17e4b7beec9952508bab8a4 (diff)
downloadabcdisk-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.c2
-rw-r--r--abcwrite.c2
-rw-r--r--bin2abc.c2
-rw-r--r--casdecode.c2
-rw-r--r--clib/dirent.c2
-rw-r--r--deinter.c2
-rw-r--r--formats.c2
-rw-r--r--mangle.c2
-rw-r--r--unmangle.c2
-rw-r--r--util.c2
11 files changed, 13 insertions, 13 deletions
diff --git a/util.h b/abcdisk.h
index 858a29d..0d2c853 100644
--- a/util.h
+++ b/abcdisk.h
@@ -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 */
diff --git a/abcread.c b/abcread.c
index 8c62e1e..1a8c914 100644
--- a/abcread.c
+++ b/abcread.c
@@ -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
diff --git a/abcwrite.c b/abcwrite.c
index 488554e..ca14c5b 100644
--- a/abcwrite.c
+++ b/abcwrite.c
@@ -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
diff --git a/bin2abc.c b/bin2abc.c
index 67b2b16..af91f76 100644
--- a/bin2abc.c
+++ b/bin2abc.c
@@ -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
diff --git a/deinter.c b/deinter.c
index 3dd095a..24fc992 100644
--- a/deinter.c
+++ b/deinter.c
@@ -4,7 +4,7 @@
* Undo software interleaving
*/
-#include "util.h"
+#include "abcdisk.h"
int main(int argc, char *argv[])
{
diff --git a/formats.c b/formats.c
index e3bb52c..9e2ec1f 100644
--- a/formats.c
+++ b/formats.c
@@ -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))
diff --git a/mangle.c b/mangle.c
index d2f774e..10dfda1 100644
--- a/mangle.c
+++ b/mangle.c
@@ -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)
{
diff --git a/unmangle.c b/unmangle.c
index 1f88375..79d6615 100644
--- a/unmangle.c
+++ b/unmangle.c
@@ -5,7 +5,7 @@
* in host encoding.
*/
-#include "util.h"
+#include "abcdisk.h"
void unmangle_filename(char *out, const unsigned char *in)
{
diff --git a/util.c b/util.c
index d3e38ae..bcb5f0b 100644
--- a/util.c
+++ b/util.c
@@ -1,4 +1,4 @@
-#include "util.h"
+#include "abcdisk.h"
const char *program;