Fixed warnings about prototype mismatch by eliminating outc routine

and calling putchar directly.
This commit is contained in:
David Greenman 1994-09-23 09:59:11 +00:00
parent c0a88f5efa
commit ffaf90b1ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3031

View file

@ -49,9 +49,10 @@ static char sccsid[] = "@(#)tput.c 8.2 (Berkeley) 3/19/94";
#include <stdlib.h>
#include <unistd.h>
#define outc putchar
static void prlongname __P((char *));
static void setospeed __P((void));
static void outc __P((int));
static void usage __P((void));
static char **process __P((char *, char *, char **));
@ -211,13 +212,6 @@ setospeed()
ospeed = cfgetospeed(&t);
}
static void
outc(c)
int c;
{
(void)putchar(c);
}
static void
usage()
{