mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-21 07:20:07 +01:00
It's only used in test code. We have to put it in its own translation unit with no non-libc dependencies so that we can compile a copy of it without AddressSanitizer support, because in a subsequent commit we will special-case test-segfault to be compiled without using AddressSanitizer, which would make linking to an AddressSanitizer-instrumented libdbus fail. Signed-off-by: Simon McVittie <smcv@collabora.com>
29 lines
1 KiB
C
29 lines
1 KiB
C
/*
|
|
* Copyright 2003 Red Hat, Inc.
|
|
* Copyright 2007-2016 Ralf Habacker
|
|
* Copyright 2014-2018 Collabora Ltd.
|
|
* Copyright 2016 Yiyang Fei
|
|
*
|
|
* Licensed under the Academic Free License version 2.1
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef TEST_DISABLE_CRASH_HANDLING_H
|
|
#define TEST_DISABLE_CRASH_HANDLING_H
|
|
|
|
void _dbus_disable_crash_handling (void);
|
|
|
|
#endif
|