diff options
Diffstat (limited to 'usr/src/ucbcmd/plot/libplot/t4013/subr.c')
-rw-r--r-- | usr/src/ucbcmd/plot/libplot/t4013/subr.c | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/usr/src/ucbcmd/plot/libplot/t4013/subr.c b/usr/src/ucbcmd/plot/libplot/t4013/subr.c index 0772971b88..97f16737f8 100644 --- a/usr/src/ucbcmd/plot/libplot/t4013/subr.c +++ b/usr/src/ucbcmd/plot/libplot/t4013/subr.c @@ -1,21 +1,21 @@ -/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */ - /* - * Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc. - * All Rights Reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. */ +/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ +/* All Rights Reserved */ + /* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ +#pragma ident "%Z%%M% %I% %E% SMI" + #include <stdio.h> + float obotx = 0.; float oboty = 0.; float botx = 0.; @@ -27,7 +27,12 @@ int scaleflag; int oloy = -1; int ohiy = -1; int ohix = -1; -cont(x,y){ + +void putch(int); + +void +cont(int x, int y) +{ int hix,hiy,lox,loy; int n; x = (x-obotx)*scalex + botx; @@ -56,6 +61,8 @@ cont(x,y){ putch(0); } -putch(c){ +void +putch(int c) +{ putc(c,stdout); } |