summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/once.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/once.h')
-rw-r--r--src/pulsecore/once.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/pulsecore/once.h b/src/pulsecore/once.h
index a4a0b239..576d40fa 100644
--- a/src/pulsecore/once.h
+++ b/src/pulsecore/once.h
@@ -1,8 +1,6 @@
#ifndef foopulseoncehfoo
#define foopulseoncehfoo
-/* $Id$ */
-
/***
This file is part of PulseAudio.
@@ -55,18 +53,18 @@ void pa_once_end(pa_once *o);
} while(0)
/*
-
+
Usage of these macros is like this:
-
+
void foo() {
-
+
PA_ONCE_BEGIN {
-
+
... stuff to be called just once ...
-
+
} PA_ONCE_END;
}
-
+
*/
/* Same API but calls a function */