summaryrefslogtreecommitdiff
path: root/doc/developer/locking.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/developer/locking.rst')
-rw-r--r--doc/developer/locking.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/developer/locking.rst b/doc/developer/locking.rst
index c8366480d2..bce1311188 100644
--- a/doc/developer/locking.rst
+++ b/doc/developer/locking.rst
@@ -7,7 +7,7 @@ FRR ships two small wrappers around ``pthread_mutex_lock()`` /
``pthread_mutex_unlock``. Use ``#include "frr_pthread.h"`` to get these
macros.
-.. c:macro:: frr_with_mutex(mutex)
+.. c:macro:: frr_with_mutex (mutex)
(With ``pthread_mutex_t *mutex``.)
@@ -17,7 +17,7 @@ macros.
int somefunction(int option)
{
- frr_with_mutex(&my_mutex) {
+ frr_with_mutex (&my_mutex) {
/* mutex will be locked */
if (!option)