git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe415ff)
Remove unnecessary (and wrong) forward declaration.
2019年5月30日 20:44:38 +0000 (13:44 -0700)
2019年5月30日 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


diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h
index bf3a4720183aaa622916f382a491302fc1ac3f2b..af1dcfb8e2c2c5aa1c37c9513265d944685349d7 100644 (file)
--- a/src/include/access/tableam.h
+++ b/src/include/access/tableam.h
@@ -33,7 +33,6 @@ extern bool synchronize_seqscans;
struct BulkInsertStateData;
struct IndexInfo;
-struct IndexBuildCallback;
struct SampleScanState;
struct TBMIterateResult;
struct VacuumParams;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /