Fix duplicate typedef LogicalTape.
authorHeikki Linnakangas <[email protected]>
Mon, 18 Oct 2021 14:02:01 +0000 (17:02 +0300)
committerHeikki Linnakangas <[email protected]>
Mon, 18 Oct 2021 14:02:01 +0000 (17:02 +0300)
To make buildfarm member locust happy.

src/backend/utils/sort/logtape.c

index 6d7f862fb5c400db9ed8695f1b2c858be3e964b8..48baccd6a210125cd39e08008385426d8cb639c0 100644 (file)
@@ -134,7 +134,7 @@ typedef struct TapeBlockTrailer
  * buffer.  The buffer therefore contains one large contiguous chunk of data
  * from the tape.
  */
-typedef struct LogicalTape
+struct LogicalTape
 {
    LogicalTapeSet *tapeSet;    /* tape set this tape is part of */
 
@@ -175,7 +175,7 @@ typedef struct LogicalTape
    long       *prealloc;
    int         nprealloc;      /* number of elements in list */
    int         prealloc_size;  /* number of elements list can hold */
-} LogicalTape;
+};
 
 /*
  * This data structure represents a set of related "logical tapes" sharing