From b5ed5b6e666e9d1e23b7cbc815684bfef52c3d41 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 10 Dec 2014 17:25:12 +0100 Subject: Rename function --- src/libstore/build.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstore/build.cc') diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 539d0b21b..ab8923bbd 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -816,8 +816,8 @@ private: /* Start building a derivation. */ void startBuilder(); - /* Initialise the builder's process. */ - void initChild(); + /* Run the builder's process. */ + void runChild(); friend int childEntry(void *); @@ -1915,7 +1915,7 @@ void DerivationGoal::startBuilder() /* Fork a child to build the package. */ pid = startProcess([&]() { - initChild(); + runChild(); }); /* parent */ @@ -1936,7 +1936,7 @@ void DerivationGoal::startBuilder() } -void DerivationGoal::initChild() +void DerivationGoal::runChild() { /* Warning: in the child we should absolutely not make any SQLite calls! */ -- cgit v1.2.3