
Kill bogus printf() in user/sh/sh2.c (the comment says
that yyparse() calls it, but it's not true).

Patch submitted by Bernardo Innocenti <bernie@develer.com>


diff -u -r1.3 sh.h
--- user/sh/sh.h	17 Jun 2003 05:12:50 -0000	1.3
+++ user/sh/sh.h	16 Jul 2003 23:40:03 -0000
@@ -468,7 +468,6 @@
 _PROTOTYPE(void glob3, (char *i, char *j, char *k ));
 _PROTOTYPE(void globname, (char *we, char *pp ));
 _PROTOTYPE(void initarea, (void));
-_PROTOTYPE(void printf, (char *s ));
 _PROTOTYPE(void pushio, (struct ioarg *argp, int (*fn)()));
 _PROTOTYPE(void setsig, (int n, void (*f)()));
 _PROTOTYPE(void tempname, (char *tname ));
diff -u -r1.1.1.1 sh2.c
--- user/sh/sh2.c	22 Jan 2002 00:31:06 -0000	1.1.1.1
+++ user/sh/sh2.c	16 Jul 2003 23:40:03 -0000
@@ -78,7 +78,6 @@
 _PROTOTYPE(int dual, (int c ));
 _PROTOTYPE(static void diag, (int ec ));
 _PROTOTYPE(static char *tree, (unsigned size ));
-_PROTOTYPE(void printf, (char *s ));
 
 int
 yyparse()
@@ -789,13 +788,5 @@
 		/* NOTREACHED */
 	}
 	return(t);
-}
-
-/* VARARGS1 */
-/* ARGSUSED */
-void 
-printf(s)	/* yyparse calls it */
-char *s;
-{
 }
 
