Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/include Under ELF, change clock_t and time_t to...
details: https://anonhg.NetBSD.org/src/rev/3aa93f61c18c
branches: trunk
changeset: 513306:3aa93f61c18c
user: matt <matt%NetBSD.org@localhost>
date: Sat Jul 28 05:04:45 2001 +0000
description:
Under ELF, change clock_t and time_t to int's (more LP64 friendly).
diffstat:
sys/arch/vax/include/ansi.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 2d66a17b1975 -r 3aa93f61c18c sys/arch/vax/include/ansi.h
--- a/sys/arch/vax/include/ansi.h Sat Jul 28 01:13:56 2001 +0000
+++ b/sys/arch/vax/include/ansi.h Sat Jul 28 05:04:45 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ansi.h,v 1.13 2001/01/13 03:48:26 matt Exp $ */
+/* $NetBSD: ansi.h,v 1.14 2001/07/28 05:04:45 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -52,17 +52,19 @@
*
* Thanks, ANSI!
*/
-#define _BSD_CLOCK_T_ unsigned long int /* clock() */
#ifdef __ELF__
+#define _BSD_CLOCK_T_ int /* clock() */
#define _BSD_PTRDIFF_T_ long int /* ptr1 - ptr2 */
#define _BSD_SIZE_T_ unsigned long int /* sizeof() */
#define _BSD_SSIZE_T_ long int /* byte count or error */
+#define _BSD_TIME_T_ int /* time() */
#else
+#define _BSD_CLOCK_T_ unsigned long int /* clock() */
#define _BSD_PTRDIFF_T_ int /* ptr1 - ptr2 */
#define _BSD_SIZE_T_ unsigned int /* sizeof() */
#define _BSD_SSIZE_T_ int /* byte count or error */
+#define _BSD_TIME_T_ long /* time() */
#endif
-#define _BSD_TIME_T_ long /* time() */
#if __GNUC_PREREQ__(2,96)
#define _BSD_VA_LIST_ __builtin_va_list /* va_list */
#else
Home |
Main Index |
Thread Index |
Old Index