Skip to content

Commit

Permalink
Forgot to add some static on functions
Browse files Browse the repository at this point in the history
Daniele Varrazzo
  • Loading branch information
Euler Taveira committed May 10, 2017
1 parent d2d5009 commit 2828409
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wal2json.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ _PG_output_plugin_init(OutputPluginCallbacks *cb)
}

/* Initialize this plugin */
void
static void
pg_decode_startup(LogicalDecodingContext *ctx, OutputPluginOptions *opt, bool is_init)
{
ListCell *option;
Expand Down Expand Up @@ -234,7 +234,7 @@ pg_decode_shutdown(LogicalDecodingContext *ctx)
}

/* BEGIN callback */
void
static void
pg_decode_begin_txn(LogicalDecodingContext *ctx, ReorderBufferTXN *txn)
{
JsonDecodingData *data = ctx->output_plugin_private;
Expand Down Expand Up @@ -287,7 +287,7 @@ pg_decode_begin_txn(LogicalDecodingContext *ctx, ReorderBufferTXN *txn)
}

/* COMMIT callback */
void
static void
pg_decode_commit_txn(LogicalDecodingContext *ctx, ReorderBufferTXN *txn,
XLogRecPtr commit_lsn)
{
Expand Down Expand Up @@ -641,7 +641,7 @@ identity_to_stringinfo(LogicalDecodingContext *ctx, TupleDesc tupdesc, HeapTuple
}

/* Callback for individual changed tuples */
void
static void
pg_decode_change(LogicalDecodingContext *ctx, ReorderBufferTXN *txn,
Relation relation, ReorderBufferChange *change)
{
Expand Down

0 comments on commit 2828409

Please sign in to comment.