Declare two variables in snapbuild.c as static.

Neither is accessed externally, I just seem to have missed the static
when writing the code.
This commit is contained in:
Andres Freund 2014-08-31 23:53:12 +02:00
parent 05258761bf
commit 8fff977e29
1 changed files with 2 additions and 2 deletions

View File

@ -243,8 +243,8 @@ struct SnapBuild
* Starting a transaction -- which we need to do while exporting a snapshot --
* removes knowledge about the previously used resowner, so we save it here.
*/
ResourceOwner SavedResourceOwnerDuringExport = NULL;
bool ExportInProgress = false;
static ResourceOwner SavedResourceOwnerDuringExport = NULL;
static bool ExportInProgress = false;
/* transaction state manipulation functions */
static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid);