Commit ca7a1f0c authored by Neil Conway's avatar Neil Conway

Remove the following unused type definitions: bool8, bool16, bool32, word8,

word16, and word32.
parent 98dcf085
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/c.h,v 1.158 2003/12/20 17:31:21 momjian Exp $ * $PostgreSQL: pgsql/src/include/c.h,v 1.159 2004/01/10 23:39:51 neilc Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -234,14 +234,6 @@ typedef unsigned short uint16; /* == 16 bits */ ...@@ -234,14 +234,6 @@ typedef unsigned short uint16; /* == 16 bits */
typedef unsigned int uint32; /* == 32 bits */ typedef unsigned int uint32; /* == 32 bits */
#endif /* not HAVE_UINT8 */ #endif /* not HAVE_UINT8 */
/*
* boolN
* Boolean value, AT LEAST N BITS IN SIZE.
*/
typedef uint8 bool8; /* >= 8 bits */
typedef uint16 bool16; /* >= 16 bits */
typedef uint32 bool32; /* >= 32 bits */
/* /*
* bitsN * bitsN
* Unit of bitwise operation, AT LEAST N BITS IN SIZE. * Unit of bitwise operation, AT LEAST N BITS IN SIZE.
...@@ -250,15 +242,6 @@ typedef uint8 bits8; /* >= 8 bits */ ...@@ -250,15 +242,6 @@ typedef uint8 bits8; /* >= 8 bits */
typedef uint16 bits16; /* >= 16 bits */ typedef uint16 bits16; /* >= 16 bits */
typedef uint32 bits32; /* >= 32 bits */ typedef uint32 bits32; /* >= 32 bits */
/*
* wordN
* Unit of storage, AT LEAST N BITS IN SIZE,
* used to fetch/store data.
*/
typedef uint8 word8; /* >= 8 bits */
typedef uint16 word16; /* >= 16 bits */
typedef uint32 word32; /* >= 32 bits */
/* /*
* floatN * floatN
* Floating point number, AT LEAST N BITS IN SIZE, * Floating point number, AT LEAST N BITS IN SIZE,
...@@ -298,8 +281,7 @@ typedef long long int int64; ...@@ -298,8 +281,7 @@ typedef long long int int64;
typedef unsigned long long int uint64; typedef unsigned long long int uint64;
#endif #endif
#else /* not HAVE_LONG_INT_64 and not #else /* not HAVE_LONG_INT_64 and not HAVE_LONG_LONG_INT_64 */
* HAVE_LONG_LONG_INT_64 */
/* Won't actually work, but fall back to long int so that code compiles */ /* Won't actually work, but fall back to long int so that code compiles */
#ifndef HAVE_INT64 #ifndef HAVE_INT64
...@@ -310,8 +292,7 @@ typedef unsigned long int uint64; ...@@ -310,8 +292,7 @@ typedef unsigned long int uint64;
#endif #endif
#define INT64_IS_BUSTED #define INT64_IS_BUSTED
#endif /* not HAVE_LONG_INT_64 and not #endif /* not HAVE_LONG_INT_64 and not HAVE_LONG_LONG_INT_64 */
* HAVE_LONG_LONG_INT_64 */
/* Decide if we need to decorate 64-bit constants */ /* Decide if we need to decorate 64-bit constants */
#ifdef HAVE_LL_CONSTANTS #ifdef HAVE_LL_CONSTANTS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment