Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitca7a1f0

Browse files
author
Neil Conway
committed
Remove the following unused type definitions: bool8, bool16, bool32, word8,
word16, and word32.
1 parent98dcf08 commitca7a1f0

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

‎src/include/c.h

Lines 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
typedefunsignedintuint32;/* == 32 bits */
235235
#endif/* not HAVE_UINT8 */
236236

237-
/*
238-
* boolN
239-
*Boolean value, AT LEAST N BITS IN SIZE.
240-
*/
241-
typedefuint8bool8;/* >= 8 bits */
242-
typedefuint16bool16;/* >= 16 bits */
243-
typedefuint32bool32;/* >= 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
typedefuint16bits16;/* >= 16 bits */
251243
typedefuint32bits32;/* >= 32 bits */
252244

253-
/*
254-
* wordN
255-
*Unit of storage, AT LEAST N BITS IN SIZE,
256-
*used to fetch/store data.
257-
*/
258-
typedefuint8word8;/* >= 8 bits */
259-
typedefuint16word16;/* >= 16 bits */
260-
typedefuint32word32;/* >= 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
typedefunsigned long longintuint64;
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
#ifndefHAVE_INT64
@@ -310,8 +292,7 @@ typedef unsigned long int uint64;
310292
#endif
311293

312294
#defineINT64_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
#ifdefHAVE_LL_CONSTANTS

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp