This allows to use a statically-defined category (found in
libosmo-sccp's tests).

Signed-off-by: Diego Elio Pettenò <[email protected]>
---
 include/osmocom/core/logging.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 76be100..ff456c2 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -101,7 +101,7 @@ struct log_info {
        log_filter *filter_fn;
 
        /*! \brief per-category information */
-       struct log_info_cat *cat;
+       const struct log_info_cat *cat;
        /*! \brief total number of categories */
        unsigned int num_cat;
        /*! \brief total number of user categories (not library) */
-- 
1.7.8.6


Reply via email to