Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 13:38:03 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228469 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include ofed/include/asm powerpc/include sparc64/include
Message-ID:  <201112131338.pBDDc3lt052068@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Tue Dec 13 13:38:03 2011
New Revision: 228469
URL: http://svn.freebsd.org/changeset/base/228469

Log:
  Replace __signed by signed.
  
  The signed keyword is an integral part of the C syntax. There's no need
  to use __signed.

Modified:
  head/sys/amd64/include/_types.h
  head/sys/arm/include/_types.h
  head/sys/i386/include/_types.h
  head/sys/ia64/include/_types.h
  head/sys/mips/include/_types.h
  head/sys/ofed/include/asm/types.h
  head/sys/powerpc/include/_types.h
  head/sys/sparc64/include/_types.h

Modified: head/sys/amd64/include/_types.h
==============================================================================
--- head/sys/amd64/include/_types.h	Tue Dec 13 13:32:56 2011	(r228468)
+++ head/sys/amd64/include/_types.h	Tue Dec 13 13:38:03 2011	(r228469)
@@ -48,7 +48,7 @@
 /*
  * Basic types upon which most other types are built.
  */
-typedef	__signed char		__int8_t;
+typedef	signed char		__int8_t;
 typedef	unsigned char		__uint8_t;
 typedef	short			__int16_t;
 typedef	unsigned short		__uint16_t;

Modified: head/sys/arm/include/_types.h
==============================================================================
--- head/sys/arm/include/_types.h	Tue Dec 13 13:32:56 2011	(r228468)
+++ head/sys/arm/include/_types.h	Tue Dec 13 13:38:03 2011	(r228469)
@@ -46,7 +46,7 @@
 /*
  * Basic types upon which most other types are built.
  */
-typedef	__signed char		__int8_t;
+typedef	signed char		__int8_t;
 typedef	unsigned char		__uint8_t;
 typedef	short			__int16_t;
 typedef	unsigned short		__uint16_t;

Modified: head/sys/i386/include/_types.h
==============================================================================
--- head/sys/i386/include/_types.h	Tue Dec 13 13:32:56 2011	(r228468)
+++ head/sys/i386/include/_types.h	Tue Dec 13 13:38:03 2011	(r228469)
@@ -48,7 +48,7 @@
 /*
  * Basic types upon which most other types are built.
  */
-typedef	__signed char		__int8_t;
+typedef	signed char		__int8_t;
 typedef	unsigned char		__uint8_t;
 typedef	short			__int16_t;
 typedef	unsigned short		__uint16_t;

Modified: head/sys/ia64/include/_types.h
==============================================================================
--- head/sys/ia64/include/_types.h	Tue Dec 13 13:32:56 2011	(r228468)
+++ head/sys/ia64/include/_types.h	Tue Dec 13 13:38:03 2011	(r228469)
@@ -46,7 +46,7 @@
 /*
  * Basic types upon which most other types are built.
  */
-typedef	__signed char		__int8_t;
+typedef	signed char		__int8_t;
 typedef	unsigned char		__uint8_t;
 typedef	short			__int16_t;
 typedef	unsigned short		__uint16_t;

Modified: head/sys/mips/include/_types.h
==============================================================================
--- head/sys/mips/include/_types.h	Tue Dec 13 13:32:56 2011	(r228468)
+++ head/sys/mips/include/_types.h	Tue Dec 13 13:38:03 2011	(r228469)
@@ -47,7 +47,7 @@
 /*
  * Basic types upon which most other types are built.
  */
-typedef	__signed char		__int8_t;
+typedef	signed char		__int8_t;
 typedef	unsigned char		__uint8_t;
 typedef	short			__int16_t;
 typedef	unsigned short		__uint16_t;

Modified: head/sys/ofed/include/asm/types.h
==============================================================================
--- head/sys/ofed/include/asm/types.h	Tue Dec 13 13:32:56 2011	(r228468)
+++ head/sys/ofed/include/asm/types.h	Tue Dec 13 13:38:03 2011	(r228469)
@@ -30,17 +30,17 @@
 
 typedef unsigned short umode_t;
 
-typedef __signed__ char __s8;
+typedef signed char __s8;
 typedef unsigned char __u8;
 
-typedef __signed__ short __s16;
+typedef signed short __s16;
 typedef unsigned short __u16;
 
-typedef __signed__ int __s32;
+typedef signed int __s32;
 typedef unsigned int __u32;
 
 #if defined(__GNUC__) // && !defined(__STRICT_ANSI__)
-typedef __signed__ long long __s64;
+typedef signed long long __s64;
 typedef unsigned long long __u64;
 #endif
 

Modified: head/sys/powerpc/include/_types.h
==============================================================================
--- head/sys/powerpc/include/_types.h	Tue Dec 13 13:32:56 2011	(r228468)
+++ head/sys/powerpc/include/_types.h	Tue Dec 13 13:38:03 2011	(r228469)
@@ -46,7 +46,7 @@
 /*
  * Basic types upon which most other types are built.
  */
-typedef	__signed char		__int8_t;
+typedef	signed char		__int8_t;
 typedef	unsigned char		__uint8_t;
 typedef	short			__int16_t;
 typedef	unsigned short		__uint16_t;

Modified: head/sys/sparc64/include/_types.h
==============================================================================
--- head/sys/sparc64/include/_types.h	Tue Dec 13 13:32:56 2011	(r228468)
+++ head/sys/sparc64/include/_types.h	Tue Dec 13 13:38:03 2011	(r228469)
@@ -42,7 +42,7 @@
 /*
  * Basic types upon which most other types are built.
  */
-typedef	__signed char		__int8_t;
+typedef	signed char		__int8_t;
 typedef	unsigned char		__uint8_t;
 typedef	short			__int16_t;
 typedef	unsigned short		__uint16_t;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112131338.pBDDc3lt052068>