diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-18 08:17:20 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-18 08:17:20 +0000 |
commit | 7314812120d76e4512a2cebe1972ebc10e793d17 (patch) | |
tree | 34e41cc72cb5a161e1c5f6aa04a9d9db3e9a03ad /sys/gnu | |
parent | 06400974146053b46bc57abab678d62f3ff169f3 (diff) | |
download | FreeBSD-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.c | 2 | ||||
-rw-r--r-- | sys/gnu/misc/aic7xxx/aic7xxx.c | 2 |
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) |