From owner-cvs-src-old@FreeBSD.ORG Sat Jan 8 11:48:11 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F0941065811 for ; Sat, 8 Jan 2011 11:48:11 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EF2E18FC12 for ; Sat, 8 Jan 2011 11:48:10 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p08BmAZT096663 for ; Sat, 8 Jan 2011 11:48:10 GMT (envelope-from tijl@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p08BmAeZ096662 for cvs-src-old@freebsd.org; Sat, 8 Jan 2011 11:48:10 GMT (envelope-from tijl@repoman.freebsd.org) Message-Id: <201101081148.p08BmAeZ096662@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to tijl@repoman.freebsd.org using -f From: Tijl Coosemans Date: Sat, 8 Jan 2011 11:47:55 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/arm/include _types.h src/sys/i386/include _types.h src/sys/mips/include _types.h src/sys/powerpc/include _types.h src/sys/sys cdefs.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2011 11:48:11 -0000 tijl 2011-01-08 11:47:55 UTC FreeBSD src repository Modified files: sys/arm/include _types.h sys/i386/include _types.h sys/mips/include _types.h sys/powerpc/include _types.h sys/sys cdefs.h Log: SVN rev 217146 on 2011-01-08 11:47:55Z by tijl On 32 bit architectures define (u)int64_t as (unsigned) long long instead of (unsigned) int __attribute__((__mode__(__DI__))). This aligns better with macros such as (U)INT64_C, (U)INT64_MAX, etc. which assume (u)int64_t has type (unsigned) long long. The mode attribute was used because long long wasn't standardised until C99. Nowadays compilers should support long long and use of the mode attribute is discouraged according to GCC Internals documentation. The type definition has to be marked with __extension__ to support compilation with "-std=c89 -pedantic". Discussed with: bde Approved by: kib (mentor) Revision Changes Path 1.10 +6 -6 src/sys/arm/include/_types.h 1.16 +6 -11 src/sys/i386/include/_types.h 1.3 +6 -11 src/sys/mips/include/_types.h 1.9 +8 -17 src/sys/powerpc/include/_types.h 1.113 +0 -2 src/sys/sys/cdefs.h