Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca7a1f0

Browse filesBrowse files
author
Neil Conway
committed
Remove the following unused type definitions: bool8, bool16, bool32, word8,
word16, and word32.
1 parent 98dcf08 commit ca7a1f0
Copy full SHA for ca7a1f0

File tree

Expand file treeCollapse file tree

1 file changed

+3
-22
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-22
lines changed

‎src/include/c.h

Copy file name to clipboardExpand all lines: src/include/c.h
+3-22Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $PostgreSQL: pgsql/src/include/c.h,v 1.158 2003/12/20 17:31:21 momjian Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.159 2004/01/10 23:39:51 neilc Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -234,14 +234,6 @@ typedef unsigned short uint16; /* == 16 bits */
234234
typedef unsigned int uint32; /* == 32 bits */
235235
#endif /* not HAVE_UINT8 */
236236

237-
/*
238-
* boolN
239-
* Boolean value, AT LEAST N BITS IN SIZE.
240-
*/
241-
typedef uint8 bool8; /* >= 8 bits */
242-
typedef uint16 bool16; /* >= 16 bits */
243-
typedef uint32 bool32; /* >= 32 bits */
244-
245237
/*
246238
* bitsN
247239
* Unit of bitwise operation, AT LEAST N BITS IN SIZE.
@@ -250,15 +242,6 @@ typedef uint8 bits8; /* >= 8 bits */
250242
typedef uint16 bits16; /* >= 16 bits */
251243
typedef uint32 bits32; /* >= 32 bits */
252244

253-
/*
254-
* wordN
255-
* Unit of storage, AT LEAST N BITS IN SIZE,
256-
* used to fetch/store data.
257-
*/
258-
typedef uint8 word8; /* >= 8 bits */
259-
typedef uint16 word16; /* >= 16 bits */
260-
typedef uint32 word32; /* >= 32 bits */
261-
262245
/*
263246
* floatN
264247
* Floating point number, AT LEAST N BITS IN SIZE,
@@ -298,8 +281,7 @@ typedef long long int int64;
298281
typedef unsigned long long int uint64;
299282
#endif
300283

301-
#else /* not HAVE_LONG_INT_64 and not
302-
* HAVE_LONG_LONG_INT_64 */
284+
#else /* not HAVE_LONG_INT_64 and not HAVE_LONG_LONG_INT_64 */
303285

304286
/* Won't actually work, but fall back to long int so that code compiles */
305287
#ifndef HAVE_INT64
@@ -310,8 +292,7 @@ typedef unsigned long int uint64;
310292
#endif
311293

312294
#define INT64_IS_BUSTED
313-
#endif /* not HAVE_LONG_INT_64 and not
314-
* HAVE_LONG_LONG_INT_64 */
295+
#endif /* not HAVE_LONG_INT_64 and not HAVE_LONG_LONG_INT_64 */
315296

316297
/* Decide if we need to decorate 64-bit constants */
317298
#ifdef HAVE_LL_CONSTANTS

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.