summaryrefslogtreecommitdiff
path: root/usr/src/common/util/memset.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/common/util/memset.c')
-rw-r--r--usr/src/common/util/memset.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/usr/src/common/util/memset.c b/usr/src/common/util/memset.c
index 9236d49f3b..dce59538e8 100644
--- a/usr/src/common/util/memset.c
+++ b/usr/src/common/util/memset.c
@@ -20,22 +20,24 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#if !defined(_KMDB) && !defined(_BOOT) && !defined(_KERNEL)
-#pragma weak _memset = memset
-
#include "lint.h"
+
#endif /* !_KMDB && !_BOOT && !_KERNEL */
+/*
+ * The SunStudio compiler may generate calls to _memset; So we
+ * need to make sure that the correct symbol exists for these calls.
+ */
+#pragma weak _memset = memset
+
#include <sys/types.h>
#if defined(_KERNEL)