diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-09-22 14:08:53 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-09-28 16:37:39 +0000 |
commit | 164b6ce7b27c0a9ec19019e7b078b9f8f382007d (patch) | |
tree | b6e497b0a14a5f5d40d1316a87334aa129f88aac /sal/osl/unx/backtrace.h | |
parent | 9fb9b057d65b07fcd037b31505561c5b3fe9939c (diff) |
General cleanup in sal module for all and unix.
Remove useless comments and header, and de duplicate a small declaration.
Change-Id: I0d4475cbbd61ea964f8e586cf0e1f68eb91c4948
Reviewed-on: https://gerrit.libreoffice.org/6016
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Diffstat (limited to 'sal/osl/unx/backtrace.h')
-rw-r--r-- | sal/osl/unx/backtrace.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sal/osl/unx/backtrace.h b/sal/osl/unx/backtrace.h index cf5698f9309d..04e39538323c 100644 --- a/sal/osl/unx/backtrace.h +++ b/sal/osl/unx/backtrace.h @@ -19,7 +19,7 @@ #if defined (SOLARIS) || defined (FREEBSD) || defined (NETBSD) || \ - defined (OPENBSD) || defined (DRAGONFLY) + defined (OPENBSD) || defined (DRAGONFLY) || defined (MACOSX) #ifdef __cplusplus extern "C" { @@ -53,22 +53,4 @@ struct frame { #include <execinfo.h> #endif -#if defined (MACOSX) - -#ifdef __cplusplus -extern "C" { -#endif - -/* backtrace function with same behaviour as defined in GNU libc */ - -int backtrace( void **buffer, int max_frames ); - -void backtrace_symbols_fd( void **buffer, int size, int fd ); - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#endif /* defined MACOSX */ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |