summaryrefslogtreecommitdiff
path: root/usr/src/cmd/awk/maketab.c
diff options
context:
space:
mode:
authorRoger A. Faulkner <Roger.Faulkner@Sun.COM>2009-01-14 06:44:41 -0800
committerRoger A. Faulkner <Roger.Faulkner@Sun.COM>2009-01-14 06:44:41 -0800
commitd09832051bb4b41ce2b3202c09fceedc089678af (patch)
treefcfac0ea5794c0254489e1106ccee80eea0fea14 /usr/src/cmd/awk/maketab.c
parent050ea1a201b4b554fc4350626c5dfc5d47488630 (diff)
downloadillumos-joyent-d09832051bb4b41ce2b3202c09fceedc089678af.tar.gz
PSARC 2008/778 asprintf, vasprintf
4508459 Solaris should have asprintf() and vasprintf() functions
Diffstat (limited to 'usr/src/cmd/awk/maketab.c')
-rw-r--r--usr/src/cmd/awk/maketab.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr/src/cmd/awk/maketab.c b/usr/src/cmd/awk/maketab.c
index 7b34e4edfe..c80e6e1c28 100644
--- a/usr/src/cmd/awk/maketab.c
+++ b/usr/src/cmd/awk/maketab.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,17 +18,15 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
-
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 2.5 */
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -58,7 +55,7 @@ struct xx {
{ SUB, "sub", "sub" },
{ GSUB, "gsub", "gsub" },
{ INDEX, "sindex", "sindex" },
- { SPRINTF, "asprintf", "sprintf " },
+ { SPRINTF, "a_sprintf", "sprintf " },
{ ADD, "arith", " + " },
{ MINUS, "arith", " - " },
{ MULT, "arith", " * " },