diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:53:28 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 05:50:36 +0900 |
commit | a146f1f1bb27ebe20e8c3042a9f05fd299250dc7 (patch) | |
tree | b674b44c78d316f4890374a06fc561423a5e21aa /ddb | |
parent | 3dfd404c09e476f721c861337a2c029ee377d457 (diff) |
ddb/db_mp.c: add comment after else and endif
* ddb/db_mp.c [CONSOLE_ON_MASTER]: Add comment after else and endif.
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_mp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ddb/db_mp.c b/ddb/db_mp.c index dc29413..1785e4d 100644 --- a/ddb/db_mp.c +++ b/ddb/db_mp.c @@ -276,7 +276,7 @@ lock_db() if (my_cpu == master_cpu) { db_console(); } -#endif +#endif /* CONSOLE_ON_MASTER */ if (db_cpu != -1 && db_cpu != my_cpu) continue; @@ -288,9 +288,9 @@ lock_db() else { simple_lock(&db_lock); } -#else +#else /* CONSOLE_ON_MASTER */ simple_lock(&db_lock); -#endif +#endif /* CONSOLE_ON_MASTER */ if (db_cpu == -1 || db_cpu == my_cpu) break; simple_unlock(&db_lock); |