/* Handle the signal by unlinking socket and exiting */
-static void terminate(bool is_parent)
+static void winbindd_terminate(bool is_parent)
{
if (is_parent) {
/* When parent goes away we should
DEBUG(0,("Got sig[%d] terminate (is_parent=%d)\n",
signum, is_parent));
- terminate(is_parent);
+ winbindd_terminate(is_parent);
}
/*
parent has exited. Shutdown the server */
DEBUG(0,("EOF on stdin (is_parent=%d)\n",
(int)*is_parent));
- terminate(*is_parent);
+ winbindd_terminate(*is_parent);
}
}
{
/* only the parent waits for this message */
DEBUG(0,("Got shutdown message\n"));
- terminate(true);
+ winbindd_terminate(true);
}