Skip to content

Commit b99661c

Browse files
Tweak code for older compilers
Attempt to quiesce build farm Author: Tomas Vondra
1 parent a4ccc1c commit b99661c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/utils/mmgr/generation.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,20 @@ typedef struct GenerationContext
9292
* GenerationBloc is the header data for a block --- the usable space
9393
* within the block begins at the next alignment boundary.
9494
*/
95-
typedef struct GenerationBlock
95+
struct GenerationBlock
9696
{
9797
dlist_node node; /* doubly-linked list */
9898
int nchunks; /* number of chunks in the block */
9999
int nfree; /* number of free chunks */
100100
char *freeptr; /* start of free space in this block */
101101
char *endptr; /* end of space in this block */
102-
} GenerationBlock;
102+
};
103103

104104
/*
105105
* GenerationChunk
106106
* The prefix of each piece of memory in an GenerationBlock
107107
*/
108-
typedef struct GenerationChunk
108+
struct GenerationChunk
109109
{
110110
/* block owning this chunk */
111111
void *block;
@@ -120,7 +120,7 @@ typedef struct GenerationChunk
120120

121121
GenerationContext *context; /* owning context */
122122
/* there must not be any padding to reach a MAXALIGN boundary here! */
123-
} GenerationChunk;
123+
};
124124

125125

126126
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy