ObjFW  Diff

Differences From Artifact [b8f741bcba]:

To Artifact [5ea0cd3af5]:


27
28
29
30
31
32
33



34



typedef volatile int of_once_t;
# define OF_ONCE_INIT 0
#elif !defined(OF_HAVE_THREADS)
typedef int of_once_t;
# define OF_ONCE_INIT 0
#endif




extern void of_once(of_once_t *control, void (*func)(void));










>
>
>

>
>
>
27
28
29
30
31
32
33
34
35
36
37
38
39
40
typedef volatile int of_once_t;
# define OF_ONCE_INIT 0
#elif !defined(OF_HAVE_THREADS)
typedef int of_once_t;
# define OF_ONCE_INIT 0
#endif

#ifdef __cplusplus
extern "C" {
#endif
extern void of_once(of_once_t *control, void (*func)(void));
#ifdef __cplusplus
}
#endif