Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/include 64-bit safety to help sharing compila...



details:   https://anonhg.NetBSD.org/src/rev/5895ac121af2
branches:  trunk
changeset: 473478:5895ac121af2
user:      pk <pk%NetBSD.org@localhost>
date:      Sat Jun 05 12:54:23 1999 +0000

description:
64-bit safety to help sharing compilation tools with sparc64.

diffstat:

 sys/arch/sparc/include/ansi.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 4837a35c3683 -r 5895ac121af2 sys/arch/sparc/include/ansi.h
--- a/sys/arch/sparc/include/ansi.h     Sat Jun 05 10:42:15 1999 +0000
+++ b/sys/arch/sparc/include/ansi.h     Sat Jun 05 12:54:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ansi.h,v 1.8 1998/04/27 17:39:11 kleink Exp $ */
+/*     $NetBSD: ansi.h,v 1.9 1999/06/05 12:54:23 pk Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -48,17 +48,17 @@
  *     #endif
  */
 #define        _BSD_CLOCK_T_           unsigned long   /* 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_PTRDIFF_T_         long            /* ptr1 - ptr2 */
+#define        _BSD_SIZE_T_            unsigned long   /* sizeof() */
+#define        _BSD_SSIZE_T_           long            /* byte count or error */
 #define        _BSD_TIME_T_            long            /* time() */
 #define        _BSD_VA_LIST_           char *          /* va_list */
 #define        _BSD_CLOCKID_T_         int             /* clockid_t */
 #define        _BSD_TIMER_T_           int             /* timer_t */
 #define        _BSD_SUSECONDS_T_       int             /* suseconds_t */
 #define        _BSD_USECONDS_T_        unsigned int    /* useconds_t */
-#define        _BSD_INTPTR_T_          int             /* intptr_t */
-#define        _BSD_UINTPTR_T_         unsigned int    /* uintptr_t */
+#define        _BSD_INTPTR_T_          long            /* intptr_t */
+#define        _BSD_UINTPTR_T_         unsigned long   /* uintptr_t */
 
 /*
  * Runes (wchar_t) is declared to be an ``int'' instead of the more natural



Home | Main Index | Thread Index | Old Index