Content-Length: 295986 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b99661c2ff4eef923abd96d2a733556f5f64c2d6

C9 Tweak code for older compilers · postgrespro/postgres_cluster@b99661c · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/b99661c2ff4eef923abd96d2a733556f5f64c2d6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy