server:update_record: make ctdb_childwrite static
authorMichael Adam <obnox@samba.org>
Tue, 21 Feb 2012 16:55:07 +0000 (17:55 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 21 Feb 2012 16:55:07 +0000 (17:55 +0100)
server/ctdb_update_record.c

index d277969d28a38b522160d0bebe1dc29a851293ba..9fd30684dd0fe2386df6e94f9e145cf970590635 100644 (file)
@@ -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)
 {