Kconfig compiled clean.

This commit is contained in:
Serge Vakulenko
2015-06-01 17:35:25 -07:00
parent c4e86a1a12
commit b72cfc52f9
11 changed files with 41 additions and 57 deletions

View File

@@ -31,10 +31,6 @@
* SUCH DAMAGE.
*/
#ifndef lint
static char sccsid[] = "@(#)mkmakefile.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
/*
* Build the makefile for the system, from
* the information in the files files and the
@@ -157,7 +153,7 @@ void read_files()
FILE *fp;
register struct file_list *tp, *pf;
register struct device *dp;
struct device *save_dp;
struct device *save_dp = 0;
register struct opt *op;
char *wd, *this, *needs, *special;
char fname[32];
@@ -267,7 +263,8 @@ nextparam:
dp->d_name = ns(wd);
dp->d_type = PSEUDO_DEVICE;
dp->d_slave = 1;
save_dp->d_next = dp;
if (save_dp)
save_dp->d_next = dp;
goto nextparam;
}
for (op = opt; op != 0; op = op->op_next)
@@ -297,7 +294,6 @@ doneparam:
exit(1);
}
save:
if (wd) {
printf("%s: syntax error describing %s\n",
fname, this);
@@ -406,7 +402,7 @@ void do_cfiles(fp)
void do_rules(f)
FILE *f;
{
register char *cp, *np, och, *tp;
register char *cp, *np, och;
register struct file_list *ftp;
char *special;
@@ -421,7 +417,6 @@ void do_rules(f)
continue;
}
fprintf(f, "%so: $S/%s%c\n", tail(np), np, och);
tp = tail(np);
special = ftp->f_special;
if (special == 0) {
char *ftype;