]> granicus.if.org Git - postgresql/commitdiff
Remove unnecessary (and wrong) forward declaration.
authorAndres Freund <andres@anarazel.de>
Thu, 30 May 2019 20:44:38 +0000 (13:44 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 30 May 2019 20:44:38 +0000 (13:44 -0700)
Interestingly only C++ compilers have, so far, complained about this
odd forward declaration. This originated when IndexBuildCallback was
defined in another file, but now is completely unnecessary (but was
wrong before too, cpluspluscheck just wouldn't have noticed).

Reported-By: Tom Lane
Discussion: https://postgr.es/m/53941.1559239260@sss.pgh.pa.us

src/include/access/tableam.h

index bf3a4720183aaa622916f382a491302fc1ac3f2b..af1dcfb8e2c2c5aa1c37c9513265d944685349d7 100644 (file)
@@ -33,7 +33,6 @@ extern bool synchronize_seqscans;
 
 struct BulkInsertStateData;
 struct IndexInfo;
-struct IndexBuildCallback;
 struct SampleScanState;
 struct TBMIterateResult;
 struct VacuumParams;