summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_update_record.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-21 17:55:07 +0100
committerMichael Adam <obnox@samba.org>2012-02-21 17:55:07 +0100
commit28554afc67164a8df0e466224976b20940cbe85b (patch)
tree9c28d4392eb7ccca7c2837a99f6a94765a164fcf /ctdb/server/ctdb_update_record.c
parent55abb07f5196a5ae14d84ca5e84dc1c494e25c75 (diff)
downloadsamba-28554afc67164a8df0e466224976b20940cbe85b.tar.gz
samba-28554afc67164a8df0e466224976b20940cbe85b.tar.xz
samba-28554afc67164a8df0e466224976b20940cbe85b.zip
server:update_record: make ctdb_childwrite static
(This used to be ctdb commit 400364a1d54404787cff48fb2c30c1b172a8b204)
Diffstat (limited to 'ctdb/server/ctdb_update_record.c')
-rw-r--r--ctdb/server/ctdb_update_record.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_update_record.c b/ctdb/server/ctdb_update_record.c
index d277969d28a..9fd30684dd0 100644
--- a/ctdb/server/ctdb_update_record.c
+++ b/ctdb/server/ctdb_update_record.c
@@ -191,7 +191,8 @@ static void childwrite_handler(struct event_context *ev, struct fd_event *fde,
/* this creates a child process which will take out a tdb transaction
and write the record to the database.
*/
-struct childwrite_handle *ctdb_childwrite(struct ctdb_db_context *ctdb_db,
+static struct childwrite_handle *ctdb_childwrite(
+ struct ctdb_db_context *ctdb_db,
void (*callback)(int, void *private_data),
struct ctdb_persistent_write_state *state)
{