Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
static void nwrap_init(void);
-static void nwrap_thread_prepare(void)
-{
- nwrap_init();
- NWRAP_LOCK_ALL;
-}
-
-static void nwrap_thread_parent(void)
-{
- NWRAP_UNLOCK_ALL;
-}
-
-static void nwrap_thread_child(void)
-{
- NWRAP_UNLOCK_ALL;
-}
-
enum nwrap_dbglvl_e {
NWRAP_LOG_ERROR = 0,
NWRAP_LOG_WARN,
return nwrap_gethostname(name, len);
}
+static void nwrap_thread_prepare(void)
+{
+ nwrap_init();
+ NWRAP_LOCK_ALL;
+}
+
+static void nwrap_thread_parent(void)
+{
+ NWRAP_UNLOCK_ALL;
+}
+
+static void nwrap_thread_child(void)
+{
+ NWRAP_UNLOCK_ALL;
+}
+
/****************************
* CONSTRUCTOR
***************************/