summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/i386/sys/gettimeofday.s
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/i386/sys/gettimeofday.s')
-rw-r--r--usr/src/lib/libc/i386/sys/gettimeofday.s16
1 files changed, 7 insertions, 9 deletions
diff --git a/usr/src/lib/libc/i386/sys/gettimeofday.s b/usr/src/lib/libc/i386/sys/gettimeofday.s
index 07f69d4a8e..e54a71121b 100644
--- a/usr/src/lib/libc/i386/sys/gettimeofday.s
+++ b/usr/src/lib/libc/i386/sys/gettimeofday.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,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -28,19 +28,17 @@
.file "%M%"
-#include <sys/asm_linkage.h>
+#include "SYS.h"
ANSI_PRAGMA_WEAK(gettimeofday,function)
-#include "SYS.h"
-
/
/ implements int gettimeofday(struct timeval *tp, void *tzp)
/
/ note that tzp is always ignored
/
- ENTRY(_gettimeofday)
+ ENTRY(gettimeofday)
/
/ use long long gethrestime()
/
@@ -59,6 +57,6 @@
movl %edx, 4(%ecx) / store usecs into timeval ptr + 4.
1:
RETC / return 0
- SET_SIZE(_gettimeofday)
+ SET_SIZE(gettimeofday)