diff options
Diffstat (limited to 'usr/src/ucbcmd/plot/libplot/gigi/arc.c')
-rw-r--r-- | usr/src/ucbcmd/plot/libplot/gigi/arc.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/usr/src/ucbcmd/plot/libplot/gigi/arc.c b/usr/src/ucbcmd/plot/libplot/gigi/arc.c index edaec6a548..2e3e9d0ad5 100644 --- a/usr/src/ucbcmd/plot/libplot/gigi/arc.c +++ b/usr/src/ucbcmd/plot/libplot/gigi/arc.c @@ -1,20 +1,18 @@ +/* + * 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 */ - -#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */ - /* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ -/* - * Copyright (c) 1983, 1984 1985, 1986, 1987, 1988, Sun Microsystems, Inc. - * All Rights Reserved. - */ - +#pragma ident "%Z%%M% %I% %E% SMI" #include "gigi.h" @@ -34,8 +32,8 @@ #define side(x,y) (a*(x)+b*(y)+c > 0.0 ? 1 : -1) -arc(xcent,ycent,xbeg,ybeg,xend,yend) -int xcent,ycent,xbeg,ybeg,xend,yend; +void +arc(int xcent, int ycent, int xbeg, int ybeg, int xend, int yend) { double radius2, c2; double a,b,c; |