summaryrefslogtreecommitdiff
path: root/usr/src/ucbcmd/plot/libplot/imagen/label.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/ucbcmd/plot/libplot/imagen/label.c')
-rw-r--r--usr/src/ucbcmd/plot/libplot/imagen/label.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/src/ucbcmd/plot/libplot/imagen/label.c b/usr/src/ucbcmd/plot/libplot/imagen/label.c
index a25b4711ae..373f60c3b4 100644
--- a/usr/src/ucbcmd/plot/libplot/imagen/label.c
+++ b/usr/src/ucbcmd/plot/libplot/imagen/label.c
@@ -1,28 +1,28 @@
+/*
+ * 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 "imPcodes.h"
#include "imp.h"
-extern imPcsize;
-label(s)
-char *s;
+
+extern int imPcsize;
+
+void
+label(char *s)
{
- register i,c;
+ int i,c;
putch(imP_SET_ABS_H);
putwd((int)((imPx-obotx)*scalex+botx)-imPcsize/2);
putch(imP_SET_ABS_V);