Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/stand/edahdi Nuke the local outc() since the ...



details:   https://anonhg.NetBSD.org/src/rev/eee3f821a6c4
branches:  trunk
changeset: 482135:eee3f821a6c4
user:      leo <leo%NetBSD.org@localhost>
date:      Tue Feb 15 10:14:55 2000 +0000

description:
Nuke the local outc() since the prototype for the second argument of tputs()
now matches putchar().

diffstat:

 sys/arch/atari/stand/edahdi/edahdi.c |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (37 lines):

diff -r 0b06462549aa -r eee3f821a6c4 sys/arch/atari/stand/edahdi/edahdi.c
--- a/sys/arch/atari/stand/edahdi/edahdi.c      Tue Feb 15 09:00:07 2000 +0000
+++ b/sys/arch/atari/stand/edahdi/edahdi.c      Tue Feb 15 10:14:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: edahdi.c,v 1.2 1999/06/01 14:27:39 leo Exp $   */
+/*     $NetBSD: edahdi.c,v 1.3 2000/02/15 10:14:55 leo Exp $   */
 
 /*
  * Copyright (c) 1996 Leo Weppelman, Waldi Ravens.
@@ -109,7 +109,6 @@
 char   *get_id __P((void));
 void   get_termcap __P((void));
 int    lex __P((int *));
-void   outc __P((int));
 int    show_parts __P((ptable_t *, int));
 void   update_disk __P((ptable_t *, int, int));
 
@@ -170,7 +169,7 @@
 
        for (;;) {
                error = NULL;
-               tputs(Clr_screen, 1, outc);
+               tputs(Clr_screen, 1, putchar);
                show_parts(ptable, scr_base);
 
                printf("\n\n");
@@ -565,10 +564,3 @@
                }
        }
 }
-
-void
-outc(c)
-int    c;
-{
-       (void)putchar(c);
-}



Home | Main Index | Thread Index | Old Index