Fix definition of smb_thread_once - must return int not void as
[jra/samba/.git] / lib / util / smb_threads.h
index 012b61c1ed3c6cec110f3986326e72edfafbb221..5079b17c6d2c0c879a111ee3c27cf35f2f9869c4 100644 (file)
@@ -52,7 +52,7 @@ struct smb_thread_functions {
 };
 
 int smb_thread_set_functions(const struct smb_thread_functions *tf);
-void smb_thread_once(smb_thread_once_t *ponce, void (*init_fn)(void));
+int smb_thread_once(smb_thread_once_t *ponce, void (*init_fn)(void));
 
 extern const struct smb_thread_functions *global_tfp;