summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-18 08:17:20 +0000
committerjkh <jkh@FreeBSD.org>1994-11-18 08:17:20 +0000
commit7314812120d76e4512a2cebe1972ebc10e793d17 (patch)
tree34e41cc72cb5a161e1c5f6aa04a9d9db3e9a03ad /sys/gnu
parent06400974146053b46bc57abab678d62f3ff169f3 (diff)
downloadFreeBSD-src-7314812120d76e4512a2cebe1972ebc10e793d17.zip
FreeBSD-src-7314812120d76e4512a2cebe1972ebc10e793d17.tar.gz
Make the compiler spit out a .c file instead of a .h file.
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/misc/aic7770/aic7770.c2
-rw-r--r--sys/gnu/misc/aic7xxx/aic7xxx.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/gnu/misc/aic7770/aic7770.c b/sys/gnu/misc/aic7770/aic7770.c
index 417a352..3add255 100644
--- a/sys/gnu/misc/aic7770/aic7770.c
+++ b/sys/gnu/misc/aic7770/aic7770.c
@@ -185,12 +185,14 @@ void output(FILE *fp)
{
int i;
+ fprintf(fp, "unsigned char seqprog[] = {\n");
for (i = 0; i < LC; i++)
fprintf(fp, "\t0x%02x, 0x%02x, 0x%02x, 0x%02x,\n",
M[i][3],
M[i][2],
M[i][1],
M[i][0]);
+ fprintf(fp, "};\n");
}
char **getl(int *n)
diff --git a/sys/gnu/misc/aic7xxx/aic7xxx.c b/sys/gnu/misc/aic7xxx/aic7xxx.c
index 417a352..3add255 100644
--- a/sys/gnu/misc/aic7xxx/aic7xxx.c
+++ b/sys/gnu/misc/aic7xxx/aic7xxx.c
@@ -185,12 +185,14 @@ void output(FILE *fp)
{
int i;
+ fprintf(fp, "unsigned char seqprog[] = {\n");
for (i = 0; i < LC; i++)
fprintf(fp, "\t0x%02x, 0x%02x, 0x%02x, 0x%02x,\n",
M[i][3],
M[i][2],
M[i][1],
M[i][0]);
+ fprintf(fp, "};\n");
}
char **getl(int *n)
OpenPOWER on IntegriCloud