summaryrefslogtreecommitdiff
path: root/usr/src/ucbcmd/plot/libplot/dumb/label.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/ucbcmd/plot/libplot/dumb/label.c')
-rw-r--r--usr/src/ucbcmd/plot/libplot/dumb/label.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/usr/src/ucbcmd/plot/libplot/dumb/label.c b/usr/src/ucbcmd/plot/libplot/dumb/label.c
index db28a34284..f11c569269 100644
--- a/usr/src/ucbcmd/plot/libplot/dumb/label.c
+++ b/usr/src/ucbcmd/plot/libplot/dumb/label.c
@@ -1,25 +1,23 @@
+/*
+ * 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 "dumb.h"
-label(string)
- char *string;
+void
+label(char *string)
{
while(*string != '\0' && currentx < COLS){
screenmat[currentx][currenty] = *string++;