summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/logging.h')
-rw-r--r--src/util/logging.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/util/logging.h b/src/util/logging.h
index 04a613e23..256e81699 100644
--- a/src/util/logging.h
+++ b/src/util/logging.h
@@ -94,15 +94,13 @@ typedef enum {
* @data: extra output logging data
*
* Callback function used to output messages
- *
- * Returns the number of bytes written or -1 in case of error
*/
-typedef int (*virLogOutputFunc) (const char *category, int priority,
- const char *funcname, long long linenr,
- const char *timestamp,
- unsigned int flags,
- const char *str,
- void *data);
+typedef void (*virLogOutputFunc) (const char *category, int priority,
+ const char *funcname, long long linenr,
+ const char *timestamp,
+ unsigned int flags,
+ const char *str,
+ void *data);
/**
* virLogCloseFunc: