1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

remove unused function

from tobias@

ok otto@ tobias@
This commit is contained in:
chl 2008-09-24 18:53:55 +00:00
parent dbbba18452
commit 2474f31f4f
2 changed files with 2 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: screen.c,v 1.18 2007/06/10 19:10:06 otto Exp $ */
/* $OpenBSD: screen.c,v 1.19 2008/09/24 18:53:55 chl Exp $ */
/*
* Top users/processes display for Unix
@ -214,15 +214,3 @@ go_home(void)
refresh();
}
}
/* This has to be defined as a subroutine for tputs (instead of a macro) */
int
putstdout(int ch)
{
int ret;
ret = putchar(ch);
if (ret == EOF)
exit(1);
return (ret);
}

View File

@ -1,4 +1,4 @@
/* $OpenBSD: screen.h,v 1.5 2007/05/29 00:56:56 otto Exp $ */
/* $OpenBSD: screen.h,v 1.6 2008/09/24 18:53:55 chl Exp $ */
/*
* Top users/processes display for Unix
@ -53,4 +53,3 @@ extern void end_screen(void);
extern void reinit_screen(void);
extern void get_screensize(void);
extern void go_home(void);
extern int putstdout(int);