aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r--src/util/common_logging.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/util/common_logging.c b/src/util/common_logging.c
index 101f2fd9f..e96fb8e78 100644
--- a/src/util/common_logging.c
+++ b/src/util/common_logging.c
@@ -260,6 +260,20 @@ resize_logdefs ()
260 logdefs = GNUNET_realloc (logdefs, logdefs_size * sizeof (struct LogDef)); 260 logdefs = GNUNET_realloc (logdefs, logdefs_size * sizeof (struct LogDef));
261} 261}
262 262
263
264/**
265 * Abort the process, generate a core dump if possible.
266 */
267void
268GNUNET_abort ()
269{
270#if WINDOWS
271 DebugBreak();
272#endif
273 abort();
274}
275
276
263/** 277/**
264 * Utility function - adds a parsed definition to logdefs array. 278 * Utility function - adds a parsed definition to logdefs array.
265 * 279 *