Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Change _BSD_SSIZE_T_ so it's not depend...
details: https://anonhg.NetBSD.org/src/rev/6fbb9cf4b645
branches: trunk
changeset: 784390:6fbb9cf4b645
user: matt <matt%NetBSD.org@localhost>
date: Sun Jan 27 17:43:20 2013 +0000
description:
Change _BSD_SSIZE_T_ so it's not dependent of _BSD_PTRDIFF_T_
diffstat:
sys/arch/arm/include/ansi.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 9ba3a27dbaaf -r 6fbb9cf4b645 sys/arch/arm/include/ansi.h
--- a/sys/arch/arm/include/ansi.h Sun Jan 27 17:38:55 2013 +0000
+++ b/sys/arch/arm/include/ansi.h Sun Jan 27 17:43:20 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ansi.h,v 1.14 2013/01/24 10:18:41 matt Exp $ */
+/* $NetBSD: ansi.h,v 1.15 2013/01/27 17:43:20 matt Exp $ */
/*
* Copyright (c) 1990, 1993
@@ -50,15 +50,16 @@
#define _BSD_CLOCK_T_ unsigned int /* clock() */
#ifdef __PTRDIFF_TYPE__
#define _BSD_PTRDIFF_T_ __PTRDIFF_TYPE__ /* ptr1 - ptr2 */
+#define _BSD_SSIZE_T_ __PTRDIFF_TYPE__ /* byte count or error */
#else
#define _BSD_PTRDIFF_T_ long int /* ptr1 - ptr2 */
+#define _BSD_SSIZE_T_ long int /* byte count or error */
#endif
#ifdef __SIZE_TYPE__
#define _BSD_SIZE_T_ __SIZE_TYPE__ /* sizeof() */
#else
#define _BSD_SIZE_T_ unsigned long int /* sizeof() */
#endif
-#define _BSD_SSIZE_T_ _BSD_PTRDIFF_T_ /* byte count or error */
#define _BSD_TIME_T_ __int64_t /* time() */
#define _BSD_CLOCKID_T_ int /* clockid_t */
#define _BSD_TIMER_T_ int /* timer_t */
Home |
Main Index |
Thread Index |
Old Index