aboutsummaryrefslogtreecommitdiff
path: root/include/libtio/log.h
diff options
context:
space:
mode:
authorThomas Touhey <thomas@touhey.fr>2019-04-29 10:12:36 +0200
committerThomas Touhey <thomas@touhey.fr>2019-04-29 10:12:36 +0200
commitdd560fcb60b245de123f6c5dbcda60b0b83fc124 (patch)
tree9d4ed7a1465399018e1c20d6fae05adc7112b3c3 /include/libtio/log.h
parent6ec77a7b972ef033ba3cd46561c4233aa9c82422 (diff)
Added serial listing native functions.
Diffstat (limited to 'include/libtio/log.h')
-rw-r--r--include/libtio/log.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libtio/log.h b/include/libtio/log.h
index 2882566..e40d0bc 100644
--- a/include/libtio/log.h
+++ b/include/libtio/log.h
@@ -22,11 +22,12 @@ TIO_DEPRECATED TIO_EXTERN(void) tio_listlog
OF((tio_log_list_t *tio__callback, void *tio__cookie));
/* List log levels (new interface).
- * This iterator yields strings (`const char *`). */
+ * This iterator yields strings (`char const *`). */
TIO_EXTERN(int) tio_iter_log
OF((tio_iter_t **tio__iter));
-# define tio_next_log(ITER, PTRP) (tio_next((ITER), (void **)(PTRP)))
+# define tio_next_log(ITER, PTRP) (tio_next((ITER), \
+ (void **)(char const **)(PTRP)))
TIO_END_DECLS
TIO_END_NAMESPACE