diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/crypto/nss/nss_obfuscate.c | 2 | ||||
-rw-r--r-- | src/util/sss_python.h | 4 | ||||
-rw-r--r-- | src/util/util.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/util/crypto/nss/nss_obfuscate.c b/src/util/crypto/nss/nss_obfuscate.c index cbd8984a..54cec099 100644 --- a/src/util/crypto/nss/nss_obfuscate.c +++ b/src/util/crypto/nss/nss_obfuscate.c @@ -49,7 +49,7 @@ (sitem)->type = (siBuffer); \ (sitem)->data = (sdata); \ (sitem)->len = (slen); \ -} while(0); +} while(0) struct sss_nss_crypto_ctx { PK11SlotInfo *slot; diff --git a/src/util/sss_python.h b/src/util/sss_python.h index 135c2877..8f81bf91 100644 --- a/src/util/sss_python.h +++ b/src/util/sss_python.h @@ -50,7 +50,7 @@ sss_exception_with_doc(char *name, char *doc, PyObject *base, PyObject *dict); PyModule_AddObject(module, \ discard_const_p(char, name), \ (PyObject *) &type); \ -} while(0); \ +} while(0) \ #define SAFE_SET(old, new) do { \ PyObject *__simple_set_tmp = NULL; \ @@ -58,6 +58,6 @@ sss_exception_with_doc(char *name, char *doc, PyObject *base, PyObject *dict); Py_INCREF(new); \ old = new; \ Py_XDECREF(__simple_set_tmp); \ -} while(0); +} while(0) #endif /* __SSS_PYTHON_H__ */ diff --git a/src/util/util.h b/src/util/util.h index 118d70c5..6cc8a546 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -139,7 +139,7 @@ errno_t set_debug_file_from_fd(const int fd); } \ debug_fn body; \ } \ -} while(0); +} while(0) /** \def DEBUG_MSG(level, function, message) \brief macro to generate debug messages with message from variable @@ -180,7 +180,7 @@ errno_t set_debug_file_from_fd(const int fd); debug_prg_name, function, __debug_macro_newlevel, message); \ } \ } \ -} while(0); +} while(0) /** \def DEBUG_IS_SET(level) \brief checks whether level (must be in new format) is set in debug_level |