bdr: added prototype for bdr_worker_shmem_release()
authorChristian Kruse <cjk@defunct.ch>
Tue, 22 Apr 2014 08:41:37 +0000 (10:41 +0200)
committerAndres Freund <andres@anarazel.de>
Thu, 3 Jul 2014 15:55:25 +0000 (17:55 +0200)
Currently the prototype has an unused attribute since function is not yet used

contrib/bdr/bdr.c

index caa09f8ed218b188f75b7c83464241e47cd7a381..355d20e4d4ebb24c016f9f575010352d2299bc08 100644 (file)
@@ -122,6 +122,9 @@ static void bdr_maintain_schema(void);
 static void bdr_worker_shmem_startup(void);
 static void bdr_worker_shmem_create_workers(void);
 static BdrWorker* bdr_worker_shmem_alloc(BdrWorkerType worker_type);
+static void bdr_worker_shmem_release(BdrWorker* worker,
+                                    BackgroundWorkerHandle *handle)
+   __attribute__((unused)); /* TODO: remove this attribute when function is used */
 
 /*
  * Converts an int64 to network byte order.