mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 16:36:14 +01:00
714cbbea52
Since we expect them to crash, let's not spam the system core dump collection (systemd, abrt). At the moment systemd is not very robust against programs crashing in loops. Instead of aborting, we exit(1). https://bugzilla.gnome.org/show_bug.cgi?id=700714
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/* gmain.h - the GLib Main loop
|
|
* Copyright (C) 1998-2000 Red Hat, Inc.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __G_MESSAGES_PRIVATE_H__
|
|
#define __G_MESSAGES_PRIVATE_H__
|
|
|
|
#include <glib/gmessages.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
G_GNUC_INTERNAL void
|
|
_g_log_set_exit_on_fatal (void);
|
|
|
|
G_GNUC_INTERNAL void
|
|
_g_log_abort (void) G_GNUC_NORETURN;
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __G_MESSAGES_PRIVATE_H__ */
|