summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/sparcv9/gen/strncpy.s
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/sparcv9/gen/strncpy.s')
-rw-r--r--usr/src/lib/libc/sparcv9/gen/strncpy.s11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/lib/libc/sparcv9/gen/strncpy.s b/usr/src/lib/libc/sparcv9/gen/strncpy.s
index 03f04c999c..fe73b67bf6 100644
--- a/usr/src/lib/libc/sparcv9/gen/strncpy.s
+++ b/usr/src/lib/libc/sparcv9/gen/strncpy.s
@@ -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,12 +18,13 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-.ident "%Z%%M% %I% %E% SMI"
+#pragma ident "%Z%%M% %I% %E% SMI"
.file "%M%"
@@ -53,7 +53,6 @@
*/
#include <sys/asm_linkage.h>
-#include "synonyms.h"
! strncpy works similarly to strcpy, except that n bytes of s2
! are copied to s1. If a null character is reached in s2 yet more