diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_common.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 2b501f91f..76cfe2417 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -302,11 +302,12 @@ enum GNUNET_ErrorType | |||
302 | * @param date when was the message logged? | 302 | * @param date when was the message logged? |
303 | * @param message what is the message | 303 | * @param message what is the message |
304 | */ | 304 | */ |
305 | typedef void (*GNUNET_Logger) (void *cls, | 305 | typedef void |
306 | enum GNUNET_ErrorType kind, | 306 | (*GNUNET_Logger) (void *cls, |
307 | const char *component, | 307 | enum GNUNET_ErrorType kind, |
308 | const char *date, | 308 | const char *component, |
309 | const char *message); | 309 | const char *date, |
310 | const char *message); | ||
310 | 311 | ||
311 | 312 | ||
312 | /** | 313 | /** |
@@ -316,7 +317,8 @@ typedef void (*GNUNET_Logger) (void *cls, | |||
316 | * @return number of log calls to be ignored | 317 | * @return number of log calls to be ignored |
317 | */ | 318 | */ |
318 | int | 319 | int |
319 | GNUNET_get_log_skip (); | 320 | GNUNET_get_log_skip (void); |
321 | |||
320 | 322 | ||
321 | #if !defined(GNUNET_CULL_LOGGING) | 323 | #if !defined(GNUNET_CULL_LOGGING) |
322 | int | 324 | int |