From 9cc6cb724f04bcbd8205eb78ff3d4829c1544541 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 18 Nov 1994 08:17:20 +0000 Subject: [PATCH] Make the compiler spit out a .c file instead of a .h file. --- sys/dev/aic7xxx/aic7xxx_asm.c | 2 ++ sys/dev/aic7xxx/aicasm.c | 2 ++ sys/dev/aic7xxx/aicasm/aicasm.c | 2 ++ sys/gnu/misc/aic7770/aic7770.c | 2 ++ sys/gnu/misc/aic7xxx/aic7xxx.c | 2 ++ 5 files changed, 10 insertions(+) diff --git a/sys/dev/aic7xxx/aic7xxx_asm.c b/sys/dev/aic7xxx/aic7xxx_asm.c index 417a352762d3..3add2558182d 100644 --- a/sys/dev/aic7xxx/aic7xxx_asm.c +++ b/sys/dev/aic7xxx/aic7xxx_asm.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/dev/aic7xxx/aicasm.c b/sys/dev/aic7xxx/aicasm.c index 417a352762d3..3add2558182d 100644 --- a/sys/dev/aic7xxx/aicasm.c +++ b/sys/dev/aic7xxx/aicasm.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/dev/aic7xxx/aicasm/aicasm.c b/sys/dev/aic7xxx/aicasm/aicasm.c index 417a352762d3..3add2558182d 100644 --- a/sys/dev/aic7xxx/aicasm/aicasm.c +++ b/sys/dev/aic7xxx/aicasm/aicasm.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/aic7770/aic7770.c b/sys/gnu/misc/aic7770/aic7770.c index 417a352762d3..3add2558182d 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 417a352762d3..3add2558182d 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)