summaryrefslogtreecommitdiff
path: root/usr/src/common/util/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/common/util/memcpy.c')
-rw-r--r--usr/src/common/util/memcpy.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr/src/common/util/memcpy.c b/usr/src/common/util/memcpy.c
index 3193287604..0f239e5869 100644
--- a/usr/src/common/util/memcpy.c
+++ b/usr/src/common/util/memcpy.c
@@ -24,11 +24,11 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
+#pragma ident "%Z%%M% %I% %E% SMI"
+
/*
* The SunStudio compiler may generate calls to _memcpy and so we
* need to make sure that the correct symbol exists for these calls,
@@ -37,16 +37,12 @@
#if !defined(_KMDB) && !defined(_BOOT) && !defined(_KERNEL)
-#pragma weak memcpy = _memcpy
+#include "lint.h"
-#include "synonyms.h"
-
-#else
+#endif /* !_KMDB && !_BOOT && !_KERNEL */
#pragma weak _memcpy = memcpy
-#endif /* !_KMDB && !_BOOT && !_KERNEL */
-
#include <sys/types.h>
#if defined(_KERNEL)