summaryrefslogtreecommitdiff
path: root/rts/posix
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2015-11-01 12:33:08 +0100
committerBen Gamari <ben@smart-cactus.org>2015-11-01 15:24:07 +0100
commit52c6e3d608ee3d010337d4405df86c2620d24887 (patch)
tree4a8b3d4a37ca091a797470bc9d0cbcfa67c88a46 /rts/posix
parentb8df858301317fcdcbe4285cea748f7f1d4438c4 (diff)
downloadhaskell-52c6e3d608ee3d010337d4405df86c2620d24887.tar.gz
Libdw: Fix symbol naming
RTS convention is to use camel-case.
Diffstat (limited to 'rts/posix')
-rw-r--r--rts/posix/Signals.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c
index 247feba69e..bfc7e82e15 100644
--- a/rts/posix/Signals.c
+++ b/rts/posix/Signals.c
@@ -536,11 +536,11 @@ static void
backtrace_handler(int sig STG_UNUSED)
{
#ifdef USE_LIBDW
- LibDwSession *session = libdw_init();
- Backtrace *bt = libdw_get_backtrace(session);
- libdw_print_backtrace(session, stderr, bt);
- backtrace_free(bt);
- libdw_free(session);
+ LibdwSession *session = libdwInit();
+ Backtrace *bt = libdwGetBacktrace(session);
+ libdwPrintBacktrace(session, stderr, bt);
+ backtraceFree(bt);
+ libdwFree(session);
#else
fprintf(stderr, "This build does not support backtraces.\n");
#endif